[PATCH] Consider map printing in Docker setup
Wald Commits
scm-commit at wald.intevation.org
Mon Aug 29 17:10:42 CEST 2022
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1661785827 -7200
# Mon Aug 29 17:10:27 2022 +0200
# Branch 3.2.x
# Node ID d1dcb8d28b0d3b69fcfe8bcc0a0f927b108f9f69
# Parent df5c6f3ef8933003eddc9f510d34e15dc43d35ce
Consider map printing in Docker setup
diff -r df5c6f3ef893 -r d1dcb8d28b0d docker/Dockerfile.gwt-client
--- 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/
diff -r df5c6f3ef893 -r d1dcb8d28b0d docker/README
--- 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:
More information about the Dive4Elements-commits
mailing list