| [supervisord] | |
| nodaemon=true | |
| logfile=/var/log/supervisor/supervisord.log | |
| pidfile=/var/run/supervisord.pid | |
| user=root | |
| [program:conduit] | |
| command=/usr/local/bin/conduit | |
| environment=CONDUIT_CONFIG="/etc/conduit/conduit.toml" | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/fd/1 | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/fd/2 | |
| stderr_logfile_maxbytes=0 | |
| [program:fastapi] | |
| command=uvicorn main:app --host 0.0.0.0 --port 8000 | |
| directory=/app | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/fd/1 | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/fd/2 | |
| stderr_logfile_maxbytes=0 | |
| [program:nginx] | |
| command=nginx -g "daemon off;" | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/fd/1 | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/fd/2 | |
| stderr_logfile_maxbytes=0 | |
| [program:sync] | |
| command=/sync_loop.sh | |
| autostart=true | |
| autorestart=true | |
| stdout_logfile=/dev/fd/1 | |
| stdout_logfile_maxbytes=0 | |
| stderr_logfile=/dev/fd/2 | |
| stderr_logfile_maxbytes=0 | |