DVL-002 Add docker-compose dependencies

This commit is contained in:
cytopia 2017-04-20 16:42:21 +02:00
parent cb512b4ac4
commit 81072dbfd7
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -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`