fix:laravel-horizon (#2181)

This commit is contained in:
Yuqi Hao 2019-07-22 22:29:37 +08:00 committed by Shao Yu-Lung (Allen)
parent db1a7cdbbc
commit 69aa0b2b6a
2 changed files with 7 additions and 0 deletions

View File

@ -245,6 +245,7 @@ services:
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
volumes:
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
- ./laravel-horizon/supervisord.d:/etc/supervisord.d

View File

@ -32,6 +32,12 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
docker-php-ext-install bcmath \
;fi
#Install Sockets package:
ARG INSTALL_AMQP=false
RUN if [ ${INSTALL_AMQP} = true ]; then \
docker-php-ext-install sockets \
;fi
# Install PostgreSQL drivers:
ARG INSTALL_PGSQL=false
RUN if [ ${INSTALL_PGSQL} = true ]; then \