diff docker/httpd-wiki.conf @ 9790:75dc4ea60938 3.2.x

Drop using explicit container names Compose will generate names for the containers and containers can connect each other on the network via the service names. This avoids the unnecessary extra "name space" and prepares the application for usage with different project names.
author Tom Gottfried <tom@intevation.de>
date Thu, 20 Jul 2023 10:25:59 +0200
parents 0834c2591e14
children
line wrap: on
line diff
--- a/docker/httpd-wiki.conf	Thu Jul 20 10:03:06 2023 +0200
+++ b/docker/httpd-wiki.conf	Thu Jul 20 10:25:59 2023 +0200
@@ -3,12 +3,12 @@
 
 # GWT client
 RedirectMatch "^/$" "/d4e-river"
-ProxyPass "/d4e-river" "ajp://d4eriver-client:8009/d4e-river"
-ProxyPassReverse "/d4e-river" "ajp://d4eriver-client:8009/d4e-river"
+ProxyPass "/d4e-river" "ajp://client:8009/d4e-river"
+ProxyPassReverse "/d4e-river" "ajp://client:8009/d4e-river"
 
 # MapServer
-ProxyPass "/cgi-bin" "http://d4eriver-mapserv/cgi-bin"
-ProxyPassReverse "/cgi-bin" "http://d4eriver-mapserv/cgi-bin"
+ProxyPass "/cgi-bin" "http://mapserv/cgi-bin"
+ProxyPassReverse "/cgi-bin" "http://mapserv/cgi-bin"
 
 # Wiki
 WSGIScriptAlias /wiki /opt/wiki/moin-1.9.9/wiki/server/moin.wsgi

http://dive4elements.wald.intevation.org