File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ services:
271271 - INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
272272 - INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
273273 - INSTALL_PHPREDIS=${LARAVEL_HORIZON_INSTALL_PHPREDIS}
274+ - INSTALL_MONGO=${LARAVEL_HORIZON_INSTALL_MONGO}
274275 volumes :
275276 - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
276277 - ./laravel-horizon/supervisord.d:/etc/supervisord.d
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ NGINX_SSL_PATH=./nginx/ssl/
238238
239239LARAVEL_HORIZON_INSTALL_SOCKETS=false
240240LARAVEL_HORIZON_INSTALL_PHPREDIS=true
241+ LARAVEL_HORIZON_INSTALL_MONGO=false
241242
242243### APACHE ################################################
243244
Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ RUN if [ ${INSTALL_CASSANDRA} = true ]; then \
7474 && docker-php-ext-enable cassandra \
7575;fi
7676
77+ # Install MongoDB drivers:
78+ ARG INSTALL_MONGO=false
79+ RUN if [ ${INSTALL_MONGO} = true ]; then \
80+ pecl install mongodb \
81+ && docker-php-ext-enable mongodb \
82+ ;fi
7783
7884
7985# ##########################################################################
You can’t perform that action at this time.
0 commit comments