Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER ipunkt Business Solutions <info@ipunkt.biz>

ENV PYTHON_VERSION=2.7.12-r0
ENV PY_PIP_VERSION=8.1.2-r0
ENV SUPERVISOR_VERSION=3.3.0
ENV SUPERVISOR_VERSION=3.3.1

ENV CONNECTION=default
ENV QUEUE=default
Expand Down
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ sed -e "s~%%CONNECTION%%~$CONNECTION~" \
-e "s~%%QUEUE%%~$QUEUE~" \
/etc/supervisor/conf.d/laravel-worker.conf.tpl > /etc/supervisor/supervisord.conf

rm /etc/supervisor/conf.d/laravel-worker.conf.tpl
#rm /etc/supervisor/conf.d/laravel-worker.conf.tpl

supervisord --nodaemon --configuration /etc/supervisor/supervisord.conf
2 changes: 2 additions & 0 deletions laravel-worker.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ process_name=%(program_name)s_%(process_num)02d
command=php /var/www/app/artisan queue:work %%CONNECTION%% --queue=%%QUEUE%%
autostart=true
autorestart=true
numprocs=1
startretries=3000