diff docker/README @ 9720:13e2d38ad314 3.2.x

Improve Docker based setup _ Make CentOS based images more resilient against package installation problems _ Upgrade database image to Debian bullseye to avoid OpenSSL bug that prevented downloading demo data and do some cleanup in passing _ Add docker-compose file for more automated setup
author Tom Gottfried <tom@intevation.de>
date Thu, 24 Feb 2022 18:49:02 +0100
parents c3afc0274bba
children 28647fff733b
line wrap: on
line diff
--- a/docker/README	Mon Jul 12 14:39:58 2021 +0200
+++ b/docker/README	Thu Feb 24 18:49:02 2022 +0100
@@ -8,22 +8,10 @@
   gwt-client/src/main/webapp/WEB-INF/config.yaml
 
 
-Build:
-
-$ docker build -f docker/Dockerfile.db -t d4e/river_db .
-$ docker build -f docker/Dockerfile.artifacts -t d4e/river_artifacts .
-$ docker build -f docker/Dockerfile.gwt-client -t d4e/river_client .
-
+Build and run:
 
-Run:
-
-$ docker network create d4e_river
-$ docker run --name d4eriver-db  --network d4e_river \
-    -dp 2345:5432 d4e/river_db:latest
-$ docker run --name d4eriver-artifacts --network d4e_river \
-    -dp 8181:8181 d4e/river_artifacts
-$ docker run --name d4eriver-client --network d4e_river \
-    -v $PWD:/opt/d4e/river -dp 8080:8080 d4e/river_client
+$ cd docker
+$ docker-compose up
 
 The application should now be accessible on your docker host under
 port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river).

http://dive4elements.wald.intevation.org