Skip to content

Commit ee42fc6

Browse files
author
Robert Kummer
authored
Merge pull request #2 from rokde/master
configuration updated
2 parents 7f56ad4 + b0c20c1 commit ee42fc6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAINTAINER ipunkt Business Solutions <info@ipunkt.biz>
44

55
ENV PYTHON_VERSION=2.7.12-r0
66
ENV PY_PIP_VERSION=8.1.2-r0
7-
ENV SUPERVISOR_VERSION=3.3.0
7+
ENV SUPERVISOR_VERSION=3.3.1
88

99
ENV CONNECTION=default
1010
ENV QUEUE=default

init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ sed -e "s~%%CONNECTION%%~$CONNECTION~" \
1212
-e "s~%%QUEUE%%~$QUEUE~" \
1313
/etc/supervisor/conf.d/laravel-worker.conf.tpl > /etc/supervisor/supervisord.conf
1414

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

1717
supervisord --nodaemon --configuration /etc/supervisor/supervisord.conf

laravel-worker.conf.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ process_name=%(program_name)s_%(process_num)02d
66
command=php /var/www/app/artisan queue:work %%CONNECTION%% --queue=%%QUEUE%%
77
autostart=true
88
autorestart=true
9+
numprocs=1
10+
startretries=3000

0 commit comments

Comments
 (0)