From ef456f178ad0127179276ebe4a03d0d56badbde9 Mon Sep 17 00:00:00 2001
From: Robin Tissot <tissotrobin@gmail.com>
Date: Mon, 19 Apr 2021 16:36:34 +0200
Subject: [PATCH] Fixes volumes inheritance confusing docker config.

---
 docker-compose.override.yml_example | 13 +++++++------
 docker-compose.yml                  |  2 --
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/docker-compose.override.yml_example b/docker-compose.override.yml_example
index 5206c725..706d9693 100644
--- a/docker-compose.override.yml_example
+++ b/docker-compose.override.yml_example
@@ -1,6 +1,13 @@
 version: "3.9"
 
 services:
+    ### to customize the homepage, uncomment this
+    #app:
+      # environment:
+      #   - CUSTOM_HOME=True
+      # volumes:
+      #   - $PWD/app/homepage
+
     web: &web
       restart: always
       # deploy:
@@ -10,12 +17,6 @@ services:
       #     constraints:
       #       - node.hostname == frontend0
 
-      ### to customize the homepage, uncomment this
-      # environment:
-      #   - CUSTOM_HOME=True
-      # volumes:
-      #   - $PWD/app/homepage
-
     channelserver:
       restart: always
       # deploy:
diff --git a/docker-compose.yml b/docker-compose.yml
index 89b5980c..6a3de0b9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,8 +15,6 @@ services:
   web:
     <<: *app
     command: uwsgi --ini /usr/src/app/uwsgi.ini
-    volumes:
-      - logs:/user/src/app/escriptorium/logs
     expose:
       - 8000
 
-- 
GitLab