[PATCH] Deploy webapp as d4e-river

Wald Commits scm-commit at wald.intevation.org
Mon Aug 3 12:18:56 CEST 2020


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1596449844 -7200
#      Mon Aug 03 12:17:24 2020 +0200
# Branch 3.2.x
# Node ID 33303817ed37f1d5d815b6f656c83031271ab380
# Parent  2dad42df79a8e3c25a5e551b5d2bdfb191ce800d
Deploy webapp as d4e-river

It's at the one hand expected in the print-url parameter in web.xml
and at the other hand nicer than 'gwt-client-1.0-SNAPSHOT'.

diff -r 2dad42df79a8 -r 33303817ed37 docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client	Fri Jul 31 13:02:42 2020 +0200
+++ b/docker/Dockerfile.gwt-client	Mon Aug 03 12:17:24 2020 +0200
@@ -32,7 +32,8 @@
         --exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz
 RUN rm OpenLayers-2.11.tar.gz
 RUN mvn -q -f river/gwt-client/pom.xml package && \
-    mv river/gwt-client/target/gwt-client-*.war /usr/share/tomcat/webapps
+    mv river/gwt-client/target/gwt-client-*.war \
+        /usr/share/tomcat/webapps/d4e-river.war
 
 ADD docker/flys_user_file /root/
 
diff -r 2dad42df79a8 -r 33303817ed37 docker/README
--- a/docker/README	Fri Jul 31 13:02:42 2020 +0200
+++ b/docker/README	Mon Aug 03 12:17:24 2020 +0200
@@ -23,6 +23,9 @@
 $ docker run --name d4eriver-client --network d4e_river \
     -v $PWD:/opt/d4e/river -dp 8080:8080 d4e/river_client
 
+The application should now be accessible on your docker host under /d4e-river.
+See docker/flys_user_file for credentials.
+
 
 TODO:
 _ Avoid having to change configuration manually


More information about the Dive4Elements-commits mailing list