fix(deploy): prioritize BaoTa-visible container logs
This commit is contained in:
@@ -26,8 +26,8 @@ x-overseas-common: &overseas-common
|
||||
SPRING_SQL_INIT_MODE: never
|
||||
TZ: Asia/Shanghai
|
||||
logging:
|
||||
# 应用只写 stdout/stderr;local 驱动负责单份本机日志与轮转。
|
||||
driver: local
|
||||
# 应用只写 stdout/stderr;json-file 兼容宝塔查看,大小与数量均受控。
|
||||
driver: ${DOCKER_LOG_DRIVER:-json-file}
|
||||
options:
|
||||
max-size: ${DOCKER_LOG_MAX_SIZE:-50m}
|
||||
max-file: "${DOCKER_LOG_MAX_FILE:-3}"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: firstleg-${DEPLOY_ENV:-test}-rocketmq
|
||||
|
||||
x-bounded-logging: &bounded-logging
|
||||
driver: local
|
||||
driver: ${DOCKER_LOG_DRIVER:-json-file}
|
||||
options:
|
||||
max-size: ${DOCKER_LOG_MAX_SIZE:-50m}
|
||||
max-file: "${DOCKER_LOG_MAX_FILE:-3}"
|
||||
|
||||
@@ -28,8 +28,8 @@ x-common: &common
|
||||
DATA_RESIDENCY: ${DATA_RESIDENCY:-CN}
|
||||
TZ: Asia/Shanghai
|
||||
logging:
|
||||
# 应用只写 stdout/stderr;local 驱动负责单份本机日志与轮转。
|
||||
driver: local
|
||||
# 应用只写 stdout/stderr;json-file 兼容宝塔查看,大小与数量均受控。
|
||||
driver: ${DOCKER_LOG_DRIVER:-json-file}
|
||||
options:
|
||||
max-size: ${DOCKER_LOG_MAX_SIZE:-50m}
|
||||
max-file: "${DOCKER_LOG_MAX_FILE:-3}"
|
||||
|
||||
Reference in New Issue
Block a user