Wait for the PHP container to start Nginx
This commit is contained in:
parent
f4ee1f18b9
commit
6ac9cd8564
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user