Created
April 2, 2025 03:38
-
-
Save rodrigobertin/536a7992ef84e385b051c3519c2b39a3 to your computer and use it in GitHub Desktop.
supervisord for Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[supervisord] | |
nodaemon=true | |
logfile=/dev/stdout | |
logfile_maxbytes=0 | |
[program:django] | |
command=python manage.py runserver 0.0.0.0:8000 | |
directory=/app | |
stdout_logfile=/dev/stdout | |
stdout_logfile_maxbytes=0 | |
stderr_logfile=/dev/stderr | |
stderr_logfile_maxbytes=0 | |
[program:celery] | |
command=celery -A neddin worker -l info | |
directory=/app | |
stdout_logfile=/dev/stdout | |
stdout_logfile_maxbytes=0 | |
stderr_logfile=/dev/stderr | |
stderr_logfile_maxbytes=0 | |
[program:celerybeat] | |
command=celery -A neddin beat -l info | |
directory=/app | |
stdout_logfile=/dev/stdout | |
stdout_logfile_maxbytes=0 | |
stderr_logfile=/dev/stderr | |
stderr_logfile_maxbytes=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment