Skip to content

Commit 9e807e3

Browse files
author
Nick Hope
committed
Updated: PHP-Worker documentation.
1 parent 894b019 commit 9e807e3

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

  • DOCUMENTATION/content/documentation

DOCUMENTATION/content/documentation/index.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,18 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
541541
```yaml
542542
php-worker:
543543
build:
544-
context: ./php-fpm
545-
dockerfile: Dockerfile-70 # or Dockerfile-56, choose your PHP-FPM container setting
544+
context: ./php-worker
545+
dockerfile: "Dockerfile-${PHP_VERSION}" #Dockerfile-71 or #Dockerfile-70 available
546+
args:
547+
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL} #Optionally install PGSQL PHP drivers
546548
volumes_from:
547549
- applications
548-
command: php artisan queue:work
550+
depends_on:
551+
- workspace
552+
extra_hosts:
553+
- "dockerhost:${DOCKER_HOST_IP}"
554+
networks:
555+
- backend
549556
```
550557
2 - Start everything up
551558

0 commit comments

Comments
 (0)