fix(deploy): prioritize BaoTa-visible container logs
This commit is contained in:
@@ -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