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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PYTHON_VERSION=2.7.12-r0
ENV PY_PIP_VERSION=8.1.2-r0
ENV SUPERVISOR_VERSION=3.3.0

ENV CONNECTION=redis
ENV CONNECTION=default
ENV QUEUE=default

# Install supervisor
Expand Down
7 changes: 1 addition & 6 deletions init.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/sh

if [ -z "$CONNECTION" ]; then
echo "Missing environment variable: CONNECTION"
exit 1
CONNECTION="default"
fi

if [ -Z "$QUEUE" ]; then
Expand All @@ -15,8 +14,4 @@ sed -e "s~%%CONNECTION%%~$CONNECTION~" \

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

# Debugging purpose
#cat /etc/supervisor/supervisord.conf

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