Skip to content

Commit

Permalink
Updated: PHP-Worker documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hope committed Oct 29, 2017
1 parent 894b019 commit 9e807e3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions DOCUMENTATION/content/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,18 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
```yaml
php-worker:
build:
context: ./php-fpm
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
args:
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL} #Optionally install PGSQL PHP drivers
volumes_from:
- applications
command: php artisan queue:work
depends_on:
- workspace
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
networks:
- backend
```
2 - Start everything up
Expand Down

0 comments on commit 9e807e3

Please sign in to comment.