diff --git a/alpine/Dockerfile_v5 b/alpine/Dockerfile_v5 index 1ed30a2..cd8d5e1 100644 --- a/alpine/Dockerfile_v5 +++ b/alpine/Dockerfile_v5 @@ -101,4 +101,4 @@ ENV LOG errorlog ENV SNAPPDF_EXECUTABLE_PATH /usr/bin/chromium-browser ENTRYPOINT ["docker-entrypoint"] -CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] \ No newline at end of file +CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] diff --git a/config/supervisor/supervisord.conf b/config/supervisor/supervisord.conf index dc77830..1da1c06 100644 --- a/config/supervisor/supervisord.conf +++ b/config/supervisor/supervisord.conf @@ -1,6 +1,5 @@ [supervisord] nodaemon=true -user=invoiceninja pidfile=/tmp/supervisord.pid logfile=/dev/null ; nodaemon will cause logs to go to stdout logfile_maxbytes=0 @@ -32,7 +31,7 @@ stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 numprocs=2 -command=php artisan queue:work --sleep=3 --tries=3 --memory=256 +command=php artisan queue:work --sleep=3 --tries=1 --memory=256 --timeout=3600 [eventlistener:shutdown] command=/shutdown.sh @@ -40,4 +39,5 @@ events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr -stderr_logfile_maxbytes=0 \ No newline at end of file +stderr_logfile_maxbytes=0 +