File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ services:
253253 - INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
254254 - INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
255255 - INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
256+ - INSTALL_PHPREDIS=${LARAVEL_HORIZON_INSTALL_PHPREDIS}
256257 volumes :
257258 - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
258259 - ./laravel-horizon/supervisord.d:/etc/supervisord.d
Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ NGINX_SSL_PATH=./nginx/ssl/
225225### LARAVEL_HORIZON ################################################
226226
227227LARAVEL_HORIZON_INSTALL_SOCKETS=false
228+ LARAVEL_HORIZON_INSTALL_PHPREDIS=true
228229
229230### APACHE ################################################
230231
Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ ARG INSTALL_CASSANDRA=false
5050RUN if [ ${INSTALL_CASSANDRA} = true ]; then \
5151 apk --update add cassandra-cpp-driver \
5252 ;fi
53+
54+ # Install PhpRedis package:
55+ ARG INSTALL_PHPREDIS=false
56+ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
57+ # Install Php Redis Extension
58+ printf "\n " | pecl install -o -f redis \
59+ && rm -rf /tmp/pear \
60+ && docker-php-ext-enable redis \
61+ ;fi
5362
5463WORKDIR /usr/src
5564RUN if [ ${INSTALL_CASSANDRA} = true ]; then \
You can’t perform that action at this time.
0 commit comments