[supervisord] nodaemon=true user=root logfile=/var/log/supervisor/supervisord.log logfile_maxbytes=10MB logfile_backups=2 loglevel=info pidfile=/var/run/supervisord.pid [program:nginx] command=/usr/sbin/nginx -g "daemon off;" autostart=true autorestart=true priority=10 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [program:uvicorn] command=/app/demo-app/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 1 directory=/app/demo-app/backend autostart=true autorestart=true priority=20 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 environment=PYTHONUNBUFFERED=1,PYTHONDONTWRITEBYTECODE=1 [program:celery] command=/app/demo-app/.venv/bin/celery -A app.core.celery_app worker --loglevel=info --concurrency=1 --without-gossip --without-mingle --without-heartbeat directory=/app/demo-app/backend autostart=true autorestart=true priority=30 stopwaitsecs=120 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 environment=PYTHONUNBUFFERED=1,PYTHONDONTWRITEBYTECODE=1,MALLOC_TRIM_THRESHOLD_=100000,MALLOC_MMAP_MAX_=65536