Created
May 22, 2018 19:13
-
-
Save hugofabricio/1933426c4b9f36c7125bb344571a884b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db: | |
image: mysql | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: docker | |
MYSQL_DATABASE: app | |
data: | |
image: brzdigital/data | |
volumes: | |
- ./:/var/www/ | |
- ./public/:/var/www/html/ | |
php: | |
image: brzdigital/php-fpm | |
ports: | |
- 9000:9000 | |
volumes_from: | |
- data | |
links: | |
- db:db | |
nginx: | |
image: brzdigital/nginx | |
ports: | |
- 80:80 | |
volumes_from: | |
- data | |
links: | |
- php:fpm | |
artisan: | |
image: brzdigital/artisan | |
command: queue:listen | |
working_dir: /var/www/ | |
links: | |
- db:db | |
volumes_from: | |
- data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment