Mercurial > dive4elements > river
changeset 9748:edaae6f76fc7 3.2.x
Bind-mount wiki configuration in docker container
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 12 Sep 2022 16:13:54 +0200 |
parents | cfc0aab9947f |
children | 68c6fe74a276 |
files | docker/docker-compose.yml docker/wikiconfig_local.py |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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:
--- /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.