Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.