Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
Missing conditions to control individual service.
  • Loading branch information
aszykm authored and regisb committed Aug 2, 2020
1 parent 398e1b9 commit d79dec5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutor/templates/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 %}
Expand Down Expand Up @@ -163,4 +163,4 @@ services:
- cms
{% endif %}

{{ patch("local-docker-compose-services")|indent(2) }}
{{ patch("local-docker-compose-services")|indent(2) }}

0 comments on commit d79dec5

Please sign in to comment.