Created
May 9, 2016 06:19
-
-
Save wiesson/8e77c546888ff3bcae37d46b08a9fa9d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
version: '2' | |
services: | |
web: | |
build: . | |
ports: | |
- "80:8080" | |
php: | |
image: php:7-fpm | |
volumes: | |
- /Users/arnewiese/Projects/efr/app:/var/www/app | |
nginx: | |
image: nginx:latest | |
volumes: | |
- ./default.conf:/etc/nginx/conf.d/laravel.template | |
ports: | |
- "8080:80" | |
volumes_from: | |
- php | |
# command: /bin/bash -c "envsubst < /etc/nginx/conf.d/laravel.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" | |
# db: | |
# image: mariadb:latest | |
# redis: | |
# image: redis:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment