[NO-ISSUE] Add logging properties

This commit is contained in:
woozu-shin 2023-10-11 21:28:28 +09:00
parent 3258319649
commit 5e44e71cc6
1 changed files with 60 additions and 0 deletions

View File

@ -48,6 +48,11 @@ services:
restart: always restart: always
depends_on: depends_on:
- zoo1 - zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-mysql: pinpoint-mysql:
build: build:
@ -72,6 +77,11 @@ services:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-web: pinpoint-web:
build: build:
@ -110,6 +120,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql" - "pinpoint-mysql:pinpoint-mysql"
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-collector: pinpoint-collector:
build: build:
@ -151,6 +166,11 @@ services:
- LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT} - LOGGING_LEVEL_ROOT=${COLLECTOR_LOGGING_LEVEL_ROOT}
- FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE} - FLINK_CLUSTER_ENABLE=${FLINK_CLUSTER_ENABLE}
- FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS} - FLINK_CLUSTER_ZOOKEEPER_ADDRESS=${FLINK_CLUSTER_ZOOKEEPER_ADDRESS}
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-quickstart: pinpoint-quickstart:
build: build:
@ -169,6 +189,11 @@ services:
- pinpoint - pinpoint
depends_on: depends_on:
- pinpoint-agent - pinpoint-agent
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-batch: pinpoint-batch:
build: build:
@ -213,6 +238,11 @@ services:
- "pinpoint-mysql:pinpoint-mysql" - "pinpoint-mysql:pinpoint-mysql"
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
pinpoint-agent: pinpoint-agent:
build: build:
@ -244,6 +274,11 @@ services:
- PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE} - PROFILER_TRANSPORT_MODULE=${PROFILER_TRANSPORT_MODULE}
depends_on: depends_on:
- pinpoint-collector - pinpoint-collector
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
#zookeepers #zookeepers
zoo1: zoo1:
@ -261,6 +296,11 @@ services:
ZOO_SERVERS: server.1=0.0.0.0:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888 ZOO_SERVERS: server.1=0.0.0.0:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo2: zoo2:
image: zookeeper:3.4.13 image: zookeeper:3.4.13
@ -277,6 +317,11 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=0.0.0.0:2888:3888 server.3=zoo3:2888:3888 ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=0.0.0.0:2888:3888 server.3=zoo3:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
zoo3: zoo3:
image: zookeeper:3.4.13 image: zookeeper:3.4.13
@ -293,6 +338,11 @@ services:
ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=0.0.0.0:2888:3888 ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=0.0.0.0:2888:3888
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
##flink ##flink
jobmanager: jobmanager:
@ -316,6 +366,11 @@ services:
- pinpoint - pinpoint
depends_on: depends_on:
- zoo1 - zoo1
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
taskmanager: taskmanager:
build: build:
@ -344,6 +399,11 @@ services:
- JOB_MANAGER_RPC_ADDRESS=jobmanager - JOB_MANAGER_RPC_ADDRESS=jobmanager
networks: networks:
- pinpoint - pinpoint
logging:
driver: "json-file"
options:
max-file: "3"
max-size: "10m"
volumes: volumes:
data-volume: data-volume: