Mercurial > dive4elements > river
annotate docker/wikiconfig_local.py @ 9803:a440ebd5c23b 3.2.x tip
Avoid using outdated mod_wsgi in Docker setup
Run Wiki in standalone mode behind reverse proxy, which is provided by
a more up-to-date Apache web server. The wiki container is still based
on CentOS 7, because the included SSO integration component cannot be
build with more recent libraries.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 21 Aug 2024 16:54:17 +0200 |
parents | cd07130ded8d |
children |
rev | line source |
---|---|
9748
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 from wikiconfig import LocalConfig |
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 |
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 class Config(LocalConfig): |
9803
a440ebd5c23b
Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9754
diff
changeset
|
4 url_prefix_static = '/moin_static199' |
9754
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
5 |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
6 # Put your local config here. |
9748
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 # See e.g. https://hg.intevation.de/moin/moin-was/file/tip/README |
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 # for SSO integration. |