mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-11 21:57:59 +00:00
Update docker-compose.yml
Missing conditions to control individual service.
This commit is contained in:
parent
398e1b96e8
commit
d79dec5a65
@ -88,7 +88,7 @@ services:
|
||||
- ../../data/lms:/openedx/data
|
||||
- ../../data/openedx-media:/openedx/media
|
||||
depends_on:
|
||||
- mysql
|
||||
{% if ACTIVATE_MYSQL %}- mysql{% endif %}
|
||||
{% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %}
|
||||
{% if ACTIVATE_FORUM %}- forum{% endif %}
|
||||
{% if ACTIVATE_MEMCACHED %}- memcached{% endif %}
|
||||
@ -113,7 +113,7 @@ services:
|
||||
- ../../data/cms:/openedx/data
|
||||
- ../../data/openedx-media:/openedx/media
|
||||
depends_on:
|
||||
- mysql
|
||||
{% if ACTIVATE_MYSQL %}- mysql{% endif %}
|
||||
{% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %}
|
||||
{% if ACTIVATE_MEMCACHED %}- memcached{% endif %}
|
||||
{% if ACTIVATE_MONGODB %}- mongodb{% endif %}
|
||||
@ -163,4 +163,4 @@ services:
|
||||
- cms
|
||||
{% endif %}
|
||||
|
||||
{{ patch("local-docker-compose-services")|indent(2) }}
|
||||
{{ patch("local-docker-compose-services")|indent(2) }}
|
||||
|
Loading…
Reference in New Issue
Block a user