Created
December 7, 2016 02:10
-
-
Save gansbrest/4ca7a1cf193474ace9f9a3595b515a13 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: | |
app: | |
image: gansbrest/php7-fpm | |
volumes: | |
- .:/usr/share/nginx/html | |
environment: | |
XDEBUG_CONFIG: remote_host=192.168.1.13 | |
depends_on: | |
- db | |
db: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- 8081:3306 | |
nginx: | |
image: nginx:1.11.6 | |
volumes: | |
- ./.conf/nginx/sites-available:/etc/nginx/conf.d:ro | |
- .:/usr/share/nginx/html | |
ports: | |
- 8080:80 | |
depends_on: | |
- app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment