PHP container should wait for database
This commit is contained in:
parent
3f1164cee6
commit
b35e8754a0
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: services/php
|
context: services/php
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
depends_on:
|
||||||
|
- "db"
|
||||||
environment:
|
environment:
|
||||||
- "panel_url="
|
- "panel_url="
|
||||||
- "timezone=" # See http://php.net/manual/en/timezones.php for timezones.
|
- "timezone=" # See http://php.net/manual/en/timezones.php for timezones.
|
||||||
|
|
Reference in a new issue