File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- FROM php:7.0 -alpine
1+ FROM php:7.1 -alpine
22
3- MAINTAINER ipunkt Business Solutions <info@ipunkt.biz>
3+ LABEL maintainer="ipunkt Business Solutions <info@ipunkt.biz>"
4+ LABEL version="php7.1-v2.0"
5+ LABEL description="A supervisor configured to run with laravel artisan queue:work or artisan horizon command"
46
57ENV PYTHON_VERSION=2.7.12-r0
68ENV PY_PIP_VERSION=8.1.2-r0
7- ENV SUPERVISOR_VERSION=3.3.1
9+ ENV SUPERVISOR_VERSION=3.3.3
810
911ENV QUEUE_CONNECTION=redis
1012ENV QUEUE_NAME=default
13+ ENV LARAVEL_HORIZON=false
1114
1215# Install pdo if you want to use database queue
13- RUN docker-php-ext-install pdo pdo_mysql
16+ RUN docker-php-ext-install pdo pdo_mysql pcntl posix
1417
1518# Install supervisor
1619RUN apk update && apk add -u python=$PYTHON_VERSION py-pip=$PY_PIP_VERSION
@@ -21,6 +24,7 @@ WORKDIR /etc/supervisor/conf.d
2124
2225# Use local configuration
2326COPY laravel-worker.conf.tpl /etc/supervisor/conf.d/laravel-worker.conf.tpl
27+ COPY laravel-horizon.conf.tpl /etc/supervisor/conf.d/laravel-horizon.conf.tpl
2428
2529# Copy scripts
2630COPY init.sh /usr/local/bin/init.sh
You can’t perform that action at this time.
0 commit comments