changeset 9743:d1dcb8d28b0d 3.2.x

Consider map printing in Docker setup
author Tom Gottfried <tom@intevation.de>
date Mon, 29 Aug 2022 17:10:27 +0200
parents df5c6f3ef893
children b1b48fa7bd80
files docker/Dockerfile.gwt-client docker/README
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docker/Dockerfile.gwt-client	Mon Aug 29 16:41:43 2022 +0200
+++ b/docker/Dockerfile.gwt-client	Mon Aug 29 17:10:27 2022 +0200
@@ -39,6 +39,9 @@
     mv river/gwt-client/target/gwt-client-*.war \
         /usr/share/tomcat/webapps/d4e-river.war
 
+# Configure tomcat
+RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml
+
 USER tomcat
 ADD docker/flys_user_file /usr/share/tomcat/
 
--- a/docker/README	Mon Aug 29 16:41:43 2022 +0200
+++ b/docker/README	Mon Aug 29 17:10:27 2022 +0200
@@ -3,6 +3,10 @@
   artifacts/doc/conf/floodmap.xml and artifacts/doc/conf/rivermap.xml
 _ Change 'example.com' to the hostname of your docker host plus ':8082' in
   artifacts/doc/conf/conf.xml
+_ Add to gwt-client/src/main/webapp/WEB-INF/config.yaml to enable map printing:
+  - !dnsMatch
+    host: <your-host>
+    port: 8081
 
 
 Build and run:

http://dive4elements.wald.intevation.org