fix(deploy): prioritize BaoTa-visible container logs

This commit is contained in:
2026-09-02 15:39:58 +08:00
parent 25c4dd50b3
commit 2902ab6077
7 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -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}"