6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-13 14:43:03 +00:00

Minor docker-compose.yml template improvements

This commit is contained in:
Régis Behmo 2019-05-29 08:42:13 +02:00
parent b5f51687a7
commit f251b7b413

View File

@ -64,7 +64,7 @@ services:
- "{{ NGINX_HTTP_PORT }}:80" - "{{ NGINX_HTTP_PORT }}:80"
- "{{ NGINX_HTTPS_PORT }}:443" - "{{ NGINX_HTTPS_PORT }}:443"
volumes: volumes:
- ../apps/nginx:/etc/nginx/conf.d/ - ../apps/nginx:/etc/nginx/conf.d/:ro
- ../../data/openedx:/var/www/openedx:ro - ../../data/openedx:/var/www/openedx:ro
{% if ACTIVATE_CMS %}- ../../data/cms:/openedx/data/cms/:ro{% endif %} {% if ACTIVATE_CMS %}- ../../data/cms:/openedx/data/cms/:ro{% endif %}
{% if ACTIVATE_LMS %}- ../../data/lms:/openedx/data/lms/:ro{% endif %} {% if ACTIVATE_LMS %}- ../../data/lms:/openedx/data/lms/:ro{% endif %}
@ -164,7 +164,7 @@ services:
- ../apps/openedx/config/:/openedx/config/ - ../apps/openedx/config/:/openedx/config/
- ../../data/lms:/openedx/data - ../../data/lms:/openedx/data
depends_on: depends_on:
{% if ACTIVATE_LMS %}- lms {% endif %} - lms
{% endif %} {% endif %}
{% if ACTIVATE_CMS %} {% if ACTIVATE_CMS %}
@ -182,7 +182,7 @@ services:
- ../apps/openedx/config/:/openedx/config/ - ../apps/openedx/config/:/openedx/config/
- ../../data/cms:/openedx/data - ../../data/cms:/openedx/data
depends_on: depends_on:
{% if ACTIVATE_CMS %}- cms {% endif %} - cms
{% endif %} {% endif %}
{% if ACTIVATE_NOTES %} {% if ACTIVATE_NOTES %}