diff --git a/tutor/templates/local/docker-compose.yml b/tutor/templates/local/docker-compose.yml index 571c8db..8c32f3c 100644 --- a/tutor/templates/local/docker-compose.yml +++ b/tutor/templates/local/docker-compose.yml @@ -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) }} \ No newline at end of file + {{ patch("local-docker-compose-services")|indent(2) }}