comparison 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
comparison
equal deleted inserted replaced
9719:f3aa7a12c86a 9720:13e2d38ad314
6 gwt-client/src/main/webapp/WEB-INF/web.xml 6 gwt-client/src/main/webapp/WEB-INF/web.xml
7 _ Set font path to /usr/share/fonts/gnu-free/FreeSans.ttf in 7 _ Set font path to /usr/share/fonts/gnu-free/FreeSans.ttf in
8 gwt-client/src/main/webapp/WEB-INF/config.yaml 8 gwt-client/src/main/webapp/WEB-INF/config.yaml
9 9
10 10
11 Build: 11 Build and run:
12 12
13 $ docker build -f docker/Dockerfile.db -t d4e/river_db . 13 $ cd docker
14 $ docker build -f docker/Dockerfile.artifacts -t d4e/river_artifacts . 14 $ docker-compose up
15 $ docker build -f docker/Dockerfile.gwt-client -t d4e/river_client .
16
17
18 Run:
19
20 $ docker network create d4e_river
21 $ docker run --name d4eriver-db --network d4e_river \
22 -dp 2345:5432 d4e/river_db:latest
23 $ docker run --name d4eriver-artifacts --network d4e_river \
24 -dp 8181:8181 d4e/river_artifacts
25 $ docker run --name d4eriver-client --network d4e_river \
26 -v $PWD:/opt/d4e/river -dp 8080:8080 d4e/river_client
27 15
28 The application should now be accessible on your docker host under 16 The application should now be accessible on your docker host under
29 port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river). 17 port 8080 and path /d4e-river (e.g. http://your-host:8080/d4e-river).
30 See docker/flys_user_file for credentials. 18 See docker/flys_user_file for credentials.
31 19

http://dive4elements.wald.intevation.org