6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

Update docker-compose.yml

Missing conditions to control individual service.
This commit is contained in:
aszykm 2020-07-30 23:59:01 +02:00 committed by Régis Behmo
parent 398e1b96e8
commit d79dec5a65

View File

@ -88,7 +88,7 @@ services:
- ../../data/lms:/openedx/data - ../../data/lms:/openedx/data
- ../../data/openedx-media:/openedx/media - ../../data/openedx-media:/openedx/media
depends_on: depends_on:
- mysql {% if ACTIVATE_MYSQL %}- mysql{% endif %}
{% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %} {% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %}
{% if ACTIVATE_FORUM %}- forum{% endif %} {% if ACTIVATE_FORUM %}- forum{% endif %}
{% if ACTIVATE_MEMCACHED %}- memcached{% endif %} {% if ACTIVATE_MEMCACHED %}- memcached{% endif %}
@ -113,7 +113,7 @@ services:
- ../../data/cms:/openedx/data - ../../data/cms:/openedx/data
- ../../data/openedx-media:/openedx/media - ../../data/openedx-media:/openedx/media
depends_on: depends_on:
- mysql {% if ACTIVATE_MYSQL %}- mysql{% endif %}
{% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %} {% if ACTIVATE_ELASTICSEARCH %}- elasticsearch{% endif %}
{% if ACTIVATE_MEMCACHED %}- memcached{% endif %} {% if ACTIVATE_MEMCACHED %}- memcached{% endif %}
{% if ACTIVATE_MONGODB %}- mongodb{% endif %} {% if ACTIVATE_MONGODB %}- mongodb{% endif %}
@ -163,4 +163,4 @@ services:
- cms - cms
{% endif %} {% endif %}
{{ patch("local-docker-compose-services")|indent(2) }} {{ patch("local-docker-compose-services")|indent(2) }}