fix(docker): start backend with 'taskpool server' under supervisord
Build and Deploy / build-and-push (push) Successful in 52s

This commit is contained in:
2026-07-26 14:49:15 +08:00
parent 24e809557e
commit 3b77837323
3 changed files with 14 additions and 15 deletions
+6 -2
View File
@@ -5,13 +5,17 @@ pidfile=/var/run/supervisord.pid
user=root
[program:backend]
command=/app/taskpool
command=/app/taskpool server
directory=/app
autostart=true
autorestart=true
startsecs=3
startretries=10
stderr_logfile=/app/logs/backend.err.log
stdout_logfile=/app/logs/backend.out.log
environment=BH_SERVER_PORT="8052",BH_SERVER_HOST="0.0.0.0"
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"
[program:nginx]
command=nginx -g "daemon off;"