Merge pull request #9 from dunglas/fix-first-start

Wait for the PHP container to start Nginx
This commit is contained in:
Kévin Dunglas 2017-10-19 22:23:15 +02:00 committed by GitHub
commit ce2ed96360

View File

@ -17,6 +17,8 @@ services:
build: build:
context: . context: .
dockerfile: ./Dockerfile.nginx dockerfile: ./Dockerfile.nginx
depends_on:
- app
volumes: volumes:
# Comment out the next line in production # Comment out the next line in production
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro - ./docker/nginx/conf.d:/etc/nginx/conf.d:ro