mirror of
https://github.com/cytopia/devilbox.git
synced 2025-04-16 15:09:01 +00:00
DVL-002 Add docker-compose dependencies
This commit is contained in:
parent
cb512b4ac4
commit
81072dbfd7
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user