Skip to content

Commit ce2ed96

Browse files
authored
Merge pull request dunglas#9 from dunglas/fix-first-start
Wait for the PHP container to start Nginx
2 parents f4ee1f1 + 6ac9cd8 commit ce2ed96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
build:
1818
context: .
1919
dockerfile: ./Dockerfile.nginx
20+
depends_on:
21+
- app
2022
volumes:
2123
# Comment out the next line in production
2224
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro

0 commit comments

Comments
 (0)