if web starts first without app, nginx will quit

This commit is contained in:
Robin Chan
2019-10-12 19:12:36 +01:00
committed by Samuel Laulhau
parent af98f696b9
commit 26a71f7f1f

View File

@@ -43,6 +43,8 @@ services:
- public:/var/www/app/public
expose: # Expose ports without publishing them to the host machine - theyll only be accessible to linked services.
- "80"
depends_on:
- app
ports: # Delete if you want to use reverse proxy
- 8000:80
networks:
@@ -67,4 +69,4 @@ services:
done
EOF'
networks:
- default
- default