[supervisord] nodaemon=true # به جای مسیرهای سیستم، از /tmp استفاده کنید logfile=/dev/null pidfile=/tmp/supervisord.pid [program:django-web] command=gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3 directory=/app user=django autostart=true autorestart=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [program:celery-worker] command=celery -A config worker -l INFO directory=/app user=django autostart=true autorestart=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0