We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 894b019 commit 9e807e3Copy full SHA for 9e807e3
1 file changed
DOCUMENTATION/content/documentation/index.md
@@ -541,11 +541,18 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
541
```yaml
542
php-worker:
543
build:
544
- context: ./php-fpm
545
- dockerfile: Dockerfile-70 # or Dockerfile-56, choose your PHP-FPM container setting
+ context: ./php-worker
+ dockerfile: "Dockerfile-${PHP_VERSION}" #Dockerfile-71 or #Dockerfile-70 available
546
+ args:
547
+ - INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL} #Optionally install PGSQL PHP drivers
548
volumes_from:
549
- applications
- command: php artisan queue:work
550
+ depends_on:
551
+ - workspace
552
+ extra_hosts:
553
+ - "dockerhost:${DOCKER_HOST_IP}"
554
+ networks:
555
+ - backend
556
```
557
2 - Start everything up
558
0 commit comments