[supervisord] nodaemon=true [program:nginx] command=nginx -g "daemon off;" [program:websocket] command=python3 /app/main.py # use python3 command directory=/app stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 priority=20