Spaces:
Sleeping
Sleeping
File size: 851 Bytes
7b81ce2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
[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
|