From b35e8754a0dfc9a467d64911d2ac4d78629bcad5 Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Sat, 17 Feb 2018 18:26:24 -0800 Subject: [PATCH] PHP container should wait for database --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 20ee559..0683dce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,8 @@ services: build: context: services/php dockerfile: Dockerfile + depends_on: + - "db" environment: - "panel_url=" - "timezone=" # See http://php.net/manual/en/timezones.php for timezones.