51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
[supervisord]
|
|
pidfile=/tmp/supervisord.pi
|
|
nodaemon=true
|
|
logfile=/dev/stdout
|
|
logfile_maxbytes=0
|
|
|
|
[program:webserver]
|
|
command=/opt/venv/bin/gunicorn -c /opt/paperless/gunicorn.conf.py --bind=%(ENV_PAPERLESS_BIND_ADDR)s:%(ENV_PAPERLESS_PORT)s paperless.asgi:application
|
|
stdout_logfile=/proc/self/fd/1
|
|
stdout_logfile_backups=0
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/proc/self/fd/2
|
|
stderr_logfile_backups=0
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:consumer]
|
|
command=/opt/venv/bin/python3 manage.py document_consumer
|
|
stdout_logfile=/proc/self/fd/1
|
|
stdout_logfile_backups=0
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/proc/self/fd/2
|
|
stderr_logfile_backups=0
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:scheduler]
|
|
command=/opt/venv/bin/celery --app paperless beat --loglevel INFO
|
|
stdout_logfile=/proc/self/fd/1
|
|
stdout_logfile_backups=0
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/proc/self/fd/2
|
|
stderr_logfile_backups=0
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:task-queue]
|
|
command=/opt/venv/bin/celery --app paperless worker --loglevel INFO
|
|
stdout_logfile=/proc/self/fd/1
|
|
stdout_logfile_backups=0
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/proc/self/fd/2
|
|
stderr_logfile_backups=0
|
|
stderr_logfile_maxbytes=0
|
|
autostart=true
|
|
autorestart=true
|
|
|