annotate docker/httpd-wiki.conf @ 9795:8d71363cd3bd 3.2.x

Use multi-stage build to speedup build and shrink image
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Nov 2023 14:37:47 +0100
parents 75dc4ea60938
children
rev   line source
9739
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 ErrorLog /dev/stderr
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 CustomLog /dev/stdout combined
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
4 # GWT client
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
5 RedirectMatch "^/$" "/d4e-river"
9790
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
6 ProxyPass "/d4e-river" "ajp://client:8009/d4e-river"
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
7 ProxyPassReverse "/d4e-river" "ajp://client:8009/d4e-river"
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
8
9755
0834c2591e14 Route MapServer through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9754
diff changeset
9 # MapServer
9790
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
10 ProxyPass "/cgi-bin" "http://mapserv/cgi-bin"
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
11 ProxyPassReverse "/cgi-bin" "http://mapserv/cgi-bin"
9755
0834c2591e14 Route MapServer through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9754
diff changeset
12
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
13 # Wiki
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
14 WSGIScriptAlias /wiki /opt/wiki/moin-1.9.9/wiki/server/moin.wsgi
9739
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 WSGIDaemonProcess moin user=wiki group=wiki \
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 python-path=/opt/wiki/moin-1.9.9 \
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 processes=5 threads=10 maximum-requests=1000 umask=0007
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18 WSGIProcessGroup moin
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 <Directory /opt/wiki/moin-1.9.9/wiki/server>
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20 Require all granted
414647dc6936 Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 </Directory>

http://dive4elements.wald.intevation.org