Skip to content

Commit ce9ba0b

Browse files
author
Robert Kummer
committed
changed environment default values to the laravel default values
1 parent 81e4eaf commit ce9ba0b

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV PYTHON_VERSION=2.7.12-r0
66
ENV PY_PIP_VERSION=8.1.2-r0
77
ENV SUPERVISOR_VERSION=3.3.0
88

9-
ENV CONNECTION=redis
9+
ENV CONNECTION=default
1010
ENV QUEUE=default
1111

1212
# Install supervisor

init.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/sh
22

33
if [ -z "$CONNECTION" ]; then
4-
echo "Missing environment variable: CONNECTION"
5-
exit 1
4+
CONNECTION="default"
65
fi
76

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

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

18-
# Debugging purpose
19-
#cat /etc/supervisor/supervisord.conf
20-
2117
supervisord --nodaemon --configuration /etc/supervisor/supervisord.conf
22-

0 commit comments

Comments
 (0)