Skip to content

Commit 69aa0b2

Browse files
Yuqi Haobestlong
authored andcommitted
fix:laravel-horizon (laradock#2181)
1 parent db1a7cd commit 69aa0b2

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ services:
245245
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
246246
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
247247
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
248+
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
248249
volumes:
249250
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
250251
- ./laravel-horizon/supervisord.d:/etc/supervisord.d

laravel-horizon/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
3232
docker-php-ext-install bcmath \
3333
;fi
3434

35+
#Install Sockets package:
36+
ARG INSTALL_AMQP=false
37+
RUN if [ ${INSTALL_AMQP} = true ]; then \
38+
docker-php-ext-install sockets \
39+
;fi
40+
3541
# Install PostgreSQL drivers:
3642
ARG INSTALL_PGSQL=false
3743
RUN if [ ${INSTALL_PGSQL} = true ]; then \

0 commit comments

Comments
 (0)