Skip to content

Instantly share code, notes, and snippets.

@maikyguanaes
Created May 22, 2017 21:51
Show Gist options
  • Save maikyguanaes/7690c46191246f89cf22f754713a6d60 to your computer and use it in GitHub Desktop.
Save maikyguanaes/7690c46191246f89cf22f754713a6d60 to your computer and use it in GitHub Desktop.
# v3 syntax
version: '3'
services:
# PHP (with NGNIX)
leroy-api:
image: ambientum/php-alpine:7.1-nginx
container_name: leroy-api
volumes:
- .:/var/www/app
ports:
- "80:8080"
leroy-queue:
image: ambientum/php-alpine:7.1
container_name: leroy-queue
command: php artisan queue:listen
volumes:
- .:/var/www/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment