fix(docker): do not hardcode sqlite; allow env to override config.ini
Build and Deploy / build-and-push (push) Successful in 53s

This commit is contained in:
2026-07-26 15:14:19 +08:00
parent c06a8a7f7d
commit afe7833539
2 changed files with 7 additions and 6 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ stderr_logfile=/app/logs/backend.err.log
stdout_logfile=/app/logs/backend.out.log
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
environment=BH_SERVER_PORT="8052",BH_SERVER_HOST="0.0.0.0",BH_DB_TYPE="sqlite",BH_DB_PATH="/app/data/taskpool.db"
# 不写死 BH_DB_*,避免覆盖 compose 注入的 MySQL/Postgres。
# 仅在 compose 未设置时提供默认监听参数。
environment=BH_SERVER_PORT="8052",BH_SERVER_HOST="0.0.0.0"
[program:nginx]
command=nginx -g "daemon off;"