changeset 9686:33303817ed37 3.2.x

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'.
author Tom Gottfried <tom@intevation.de>
date Mon, 03 Aug 2020 12:17:24 +0200
parents 2dad42df79a8
children 25532d3c0af2
files docker/Dockerfile.gwt-client docker/README
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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/
 
--- 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

http://dive4elements.wald.intevation.org