diff --git a/docker/supervisord.conf b/docker/supervisord.conf index 69b7879b9..009760771 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -15,6 +15,7 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 +environment = HOME="/usr/src/paperless",USER="paperless" [program:consumer] command=python3 manage.py document_consumer @@ -25,6 +26,7 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 +environment = HOME="/usr/src/paperless",USER="paperless" [program:celery] @@ -37,6 +39,7 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 +environment = HOME="/usr/src/paperless",USER="paperless" [program:celery-beat] @@ -48,6 +51,7 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 +environment = HOME="/usr/src/paperless",USER="paperless" [program:celery-flower] command = /usr/local/bin/flower-conditional.sh @@ -58,3 +62,4 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 +environment = HOME="/usr/src/paperless",USER="paperless"