Spaces:
Sleeping
Sleeping
[unix_http_server] | |
file=/tmp/supervisor.sock | |
chmod=0700 | |
chown=service:service | |
[supervisord] | |
logfile=/tmp/supervisord.log | |
logfile_maxbytes=50MB | |
logfile_backups=10 | |
loglevel=info | |
pidfile=/tmp/supervisord.pid | |
nodaemon=true | |
user=service | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[supervisorctl] | |
serverurl=unix:///tmp/supervisor.sock | |
[program:app] | |
command=/app/.venv/bin/python /app/app/run.py | |
user=service | |
autostart=true | |
autorestart=true | |
[program:cadvisor] | |
command=/usr/local/bin/cadvisor --port=8080 --allow_dynamic_housekeeping=false --listen_ip=0.0.0.0 | |
user=service | |
autostart=true | |
autorestart=true | |
stdout_logfile=/tmp/cadvisor.log | |
stderr_logfile=/tmp/cadvisor_err.log | |
redirect_stderr=true | |
[program:nginx] | |
command=nginx -g 'daemon off;' | |
user=service | |
autostart=true | |
autorestart=true | |