From f251b7b413145e5a799589900b9668724d8a1d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 29 May 2019 08:42:13 +0200 Subject: [PATCH] Minor docker-compose.yml template improvements --- tutor/templates/local/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutor/templates/local/docker-compose.yml b/tutor/templates/local/docker-compose.yml index fe0f588..1186376 100644 --- a/tutor/templates/local/docker-compose.yml +++ b/tutor/templates/local/docker-compose.yml @@ -64,7 +64,7 @@ services: - "{{ NGINX_HTTP_PORT }}:80" - "{{ NGINX_HTTPS_PORT }}:443" volumes: - - ../apps/nginx:/etc/nginx/conf.d/ + - ../apps/nginx:/etc/nginx/conf.d/:ro - ../../data/openedx:/var/www/openedx:ro {% if ACTIVATE_CMS %}- ../../data/cms:/openedx/data/cms/:ro{% endif %} {% if ACTIVATE_LMS %}- ../../data/lms:/openedx/data/lms/:ro{% endif %} @@ -164,7 +164,7 @@ services: - ../apps/openedx/config/:/openedx/config/ - ../../data/lms:/openedx/data depends_on: - {% if ACTIVATE_LMS %}- lms {% endif %} + - lms {% endif %} {% if ACTIVATE_CMS %} @@ -182,7 +182,7 @@ services: - ../apps/openedx/config/:/openedx/config/ - ../../data/cms:/openedx/data depends_on: - {% if ACTIVATE_CMS %}- cms {% endif %} + - cms {% endif %} {% if ACTIVATE_NOTES %}