Add basic docker-compose configuration

This commit is contained in:
Fabien MEURILLON
2016-01-09 14:47:32 +01:00
parent 5ad863c63a
commit 540ef5e084
4 changed files with 119 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
nginx:
image: nginx
ports:
- "8080:80"
volumes:
- ./docker/nginx/nginx.conf:/nginx.conf
- ./docker/logs/nginx:/var/log/nginx
- .:/var/www/html
links:
- php:php
command: nginx -c /nginx.conf
php:
build: docker/php
ports:
- "9000:9000"
volumes:
- .:/var/www/html