We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e4eaf commit ce9ba0bCopy full SHA for ce9ba0b
.gitignore
@@ -0,0 +1 @@
1
+.idea
Dockerfile
@@ -6,7 +6,7 @@ ENV PYTHON_VERSION=2.7.12-r0
6
ENV PY_PIP_VERSION=8.1.2-r0
7
ENV SUPERVISOR_VERSION=3.3.0
8
9
-ENV CONNECTION=redis
+ENV CONNECTION=default
10
ENV QUEUE=default
11
12
# Install supervisor
init.sh
@@ -1,8 +1,7 @@
#!/bin/sh
2
3
if [ -z "$CONNECTION" ]; then
4
- echo "Missing environment variable: CONNECTION"
5
- exit 1
+ CONNECTION="default"
fi
if [ -Z "$QUEUE" ]; then
@@ -15,8 +14,4 @@ sed -e "s~%%CONNECTION%%~$CONNECTION~" \
15
14
16
rm /etc/supervisor/conf.d/laravel-worker.conf.tpl
17
18
-# Debugging purpose
19
-#cat /etc/supervisor/supervisord.conf
20
-
21
supervisord --nodaemon --configuration /etc/supervisor/supervisord.conf
22
0 commit comments