21 lines
484 B
Plaintext
21 lines
484 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/app/logs/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[program:backend]
|
|
command=/app/taskpool
|
|
directory=/app
|
|
autostart=true
|
|
autorestart=true
|
|
stderr_logfile=/app/logs/backend.err.log
|
|
stdout_logfile=/app/logs/backend.out.log
|
|
environment=BH_SERVER_PORT="8052",BH_SERVER_HOST="127.0.0.1"
|
|
|
|
[program:nginx]
|
|
command=nginx -g "daemon off;"
|
|
autostart=true
|
|
autorestart=true
|
|
stderr_logfile=/app/logs/nginx.err.log
|
|
stdout_logfile=/app/logs/nginx.out.log
|