[supervisord] nodaemon=true user=root logfile=/dev/null logfile_maxbytes=0 pidfile=/tmp/supervisord.pid loglevel=info minfds=1024 minprocs=200 [supervisorctl] serverurl=unix:///tmp/supervisor.sock [unix_http_server] file=/tmp/supervisor.sock chmod=0700 [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [program:app] command=python /app/websocket_hub.py directory=/app autostart=true autorestart=true startsecs=3 startretries=5 stopwaitsecs=10 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 environment=PORT=7860,DASHBOARD_HTML=/app/hub_dashboard.html,PYTHONUNBUFFERED=1 priority=1 [program:worker1] command=python /app/Quasar_axrvi_ranker.py --hub ws://localhost:7860/ws/subscribe --sync directory=/app autostart=true autorestart=true startsecs=10 startretries=10 stopwaitsecs=10 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 environment=PYTHONUNBUFFERED=1 priority=2 depends_on=app [program:dashboard] command=python3 /app/hub_dashboard_service.py directory=/app autostart=false autorestart=false startsecs=3 startretries=5 stopwaitsecs=10 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 environment=PYTHONUNBUFFERED=1,DASHBOARD_HTML=/app/hub_dashboard.html,RANKER_LOG_DIR=/app/ranker_logs,DASHBOARD_PORT=8052 priority=3 [group:space] programs=app,worker1,dashboard priority=999