Б
Size: a a a
Б
D
Б
VP
Б
AF
VP
D
D
version: "2.4"
services:
app:
image: gitlab.local:5050/customer/customer-integration:${CUSTOMER_INTEGRATION_VERSION:?required}
container_name: customer-integration-app-1
environment:
- JAVA_TOOL_OPTIONS=-Xms2200m -Xmx2200m -XX:MaxMetaspaceSize=100m -XX:MaxDirectMemorySize=200m -XX:MaxGCPauseMillis=100 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/jfr -XX:StartFlightRecording=name=ProfilingRecording,settings=profile,disk=true,dumponexit=false,delay=5m,maxage=7d,maxsize=500m -XX:FlightRecorderOptions:memorysize=10M,repository=/jfr
- SPRING_PROFILES_ACTIVE=standalone
# - SPRING_PROFILES_ACTIVE=standalone,development
# - LOGGING_CONFIG=/config/logback-spring.xml
mem_limit: 3g
network_mode: host
read_only: true
logging:
driver: json-file
options:
mode: non-blocking
max-size: 50m
max-file: "10"
restart: "unless-stopped"
stop_grace_period: 60s
tmpfs:
- /tmp:exec
volumes:
- type: bind
source: /opt/docker-mounts/customer-integration/config/integration
target: /config
read_only: true
- type: bind
source: /opt/docker-mounts/customer-integration/jfr
target: /jfr
filebeat:
image: docker.elastic.co/beats/filebeat-oss:7.13.2
container_name: customer-integration_filebeat-1
user: root
# Disable strict permission checking on configuration files because they are not owned by root.
# See https://www.elastic.co/guide/en/beats/libbeat/7.9/config-file-permissions.html.
command: filebeat --path.config=/usr/share/filebeat/config -strict.perms=false
network_mode: host
restart: "unless-stopped"
stop_grace_period: 60s
volumes:
- type: bind
source: /opt/docker-mounts/customer-integration/config/filebeat
target: /usr/share/filebeat/config
read_only: true
- type: bind
source: /var/lib/docker/containers
target: /var/lib/docker/containers
read_only: true
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
read_only: true
- type: volume
source: filebeat
target: /usr/share/filebeat/data
volumes:
filebeat:
D
AF
AF
AF
D
D
Б
AF
D

D
Б