annotate docker/docker-compose.yml @ 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
children 95496d21b4da
rev   line source
9720
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 version: "3.5"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 services:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3 db:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 container_name: "d4eriver-db"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5 build:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6 context: ../
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 dockerfile: ./docker/Dockerfile.db
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
8 image: "d4e/river_db"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 networks:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
10 - d4e_river
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
11 server:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 container_name: "d4eriver-artifacts"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13 build:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 context: ../
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 dockerfile: ./docker/Dockerfile.artifacts
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 image: "d4e/river_artifacts"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 networks:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18 - d4e_river
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 depends_on:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20 - db
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 client:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
22 container_name: "d4eriver-client"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
23 build:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
24 context: ../
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
25 dockerfile: ./docker/Dockerfile.gwt-client
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
26 image: "d4e/river_client"
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
27 networks:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
28 - d4e_river
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
29 depends_on:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
30 - server
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
31 volumes:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
32 - ../:/opt/d4e/river
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
33 ports:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
34 - 8080:8080
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
35 networks:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
36 d4e_river:
13e2d38ad314 Improve Docker based setup
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
37 name: d4e_river

http://dive4elements.wald.intevation.org