[PATCH] Bind-mount wiki configuration in docker container

Wald Commits scm-commit at wald.intevation.org
Mon Sep 12 16:14:55 CEST 2022


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1662992034 -7200
#      Mon Sep 12 16:13:54 2022 +0200
# Branch 3.2.x
# Node ID edaae6f76fc7a1105936b259e19bb1f5d5b7da2a
# Parent  cfc0aab9947f24a06905cbfdb11d22e33c7d76bc
Bind-mount wiki configuration in docker container

diff -r cfc0aab9947f -r edaae6f76fc7 docker/docker-compose.yml
--- a/docker/docker-compose.yml	Mon Sep 05 17:55:32 2022 +0200
+++ b/docker/docker-compose.yml	Mon Sep 12 16:13:54 2022 +0200
@@ -46,6 +46,7 @@
       - d4e_river
     volumes:
       - wiki-data:/opt/wiki/moin-1.9.9/wiki/data
+      - ./wikiconfig_local.py:/opt/wiki/moin-1.9.9/wikiconfig_local.py
     ports:
       - 8082:80
   client:
diff -r cfc0aab9947f -r edaae6f76fc7 docker/wikiconfig_local.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker/wikiconfig_local.py	Mon Sep 12 16:13:54 2022 +0200
@@ -0,0 +1,7 @@
+from wikiconfig import LocalConfig
+
+class Config(LocalConfig):
+    # Put your local config here respectively replace with something useful:
+    configuration_item_1 = 'value1'
+    # See e.g. https://hg.intevation.de/moin/moin-was/file/tip/README
+    # for SSO integration.


More information about the Dive4Elements-commits mailing list