Updated: PHP-Worker documentation.

This commit is contained in:
Nick Hope 2017-10-29 13:03:59 +00:00
parent 894b0197e0
commit 9e807e39ee

View File

@ -541,11 +541,18 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
```yaml ```yaml
php-worker: php-worker:
build: build:
context: ./php-fpm context: ./php-worker
dockerfile: Dockerfile-70 # or Dockerfile-56, choose your PHP-FPM container setting dockerfile: "Dockerfile-${PHP_VERSION}" #Dockerfile-71 or #Dockerfile-70 available
args:
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL} #Optionally install PGSQL PHP drivers
volumes_from: volumes_from:
- applications - applications
command: php artisan queue:work depends_on:
- workspace
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
networks:
- backend
``` ```
2 - Start everything up 2 - Start everything up