From 81072dbfd798e761ba1f7502f345c39f686fce66 Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 20 Apr 2017 16:42:21 +0200 Subject: [PATCH] DVL-002 Add docker-compose dependencies --- docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b36ce865..c595d5c5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ services: # HTTP # ---------------------------------------- httpd: + # TODO: remove latest, once it is ready for the next release image: cytopia/${HTTPD_SERVER}:latest # Manually build via `docker-compose build` @@ -91,6 +92,9 @@ services: # (configured in /etc/${HTTPD_SERVER}/02-vhost-mass.conf) - ${HOST_PATH_TO_WWW_DOCROOTS}:/shared/httpd:ro + depends_on: + - php + links: # ---- Format: ---- # SERVICE [ : ALIAS] @@ -194,6 +198,10 @@ services: # (configured in /etc/${HTTPD_SERVER}/02-vhost-mass.conf) - ${HOST_PATH_TO_WWW_DOCROOTS}:/shared/httpd + depends_on: + - mysql + - postgres + links: # ---- Format: ---- @@ -206,6 +214,7 @@ services: # DATABASE # ---------------------------------------- mysql: + # TODO: remove latest, once it is ready for the next release image: cytopia/${MYSQL_SERVER}:latest # Manually build via `docker-compose build`