Mercurial > dive4elements > river
annotate docker/wikiconfig_local.py @ 9754:cd07130ded8d 3.2.x
Route GWT client through wiki container
This reduces the need for local configuration changes to get
a working Docker-based setup.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 12 Oct 2022 10:45:13 +0200 |
parents | edaae6f76fc7 |
children | a440ebd5c23b |
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): |
9754
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
4 # Keep path prefix in sync with WSGIScriptAlias in httpd config |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
5 url_prefix_static = '/wiki/moin_static199' |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
6 |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
7 # Put your local config here. |
9748
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 # 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
|
9 # for SSO integration. |