Mercurial > dive4elements > river
annotate docker/docker-compose.yml @ 9743:d1dcb8d28b0d 3.2.x
Consider map printing in Docker setup
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 29 Aug 2022 17:10:27 +0200 |
parents | 8abcb3cdaff1 |
children | cfc0aab9947f |
rev | line source |
---|---|
9720 | 1 version: "3.5" |
2 services: | |
3 db: | |
4 container_name: "d4eriver-db" | |
5 build: | |
6 context: ../ | |
7 dockerfile: ./docker/Dockerfile.db | |
8 image: "d4e/river_db" | |
9 networks: | |
10 - d4e_river | |
11 server: | |
12 container_name: "d4eriver-artifacts" | |
13 build: | |
14 context: ../ | |
15 dockerfile: ./docker/Dockerfile.artifacts | |
16 image: "d4e/river_artifacts" | |
17 networks: | |
18 - d4e_river | |
19 depends_on: | |
20 - db | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
21 volumes: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
22 - ../artifacts/doc/conf:/opt/d4e/bin/conf |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
23 - mapfiles:/opt/d4e/bin |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
24 mapserv: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
25 container_name: "d4eriver-mapserv" |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
26 build: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
27 context: ./ |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
28 dockerfile: ./Dockerfile.mapserv |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
29 image: "d4e/river_mapserv" |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
30 networks: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
31 - d4e_river |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
32 depends_on: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
33 - db |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
34 - server |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
35 volumes: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
36 - mapfiles:/opt/d4e/bin |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
37 ports: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
38 - 8081:80 |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
39 wiki: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
40 container_name: "d4eriver-wiki" |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
41 build: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
42 context: ./ |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
43 dockerfile: ./Dockerfile.wiki |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
44 image: "d4e/river_wiki" |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
45 networks: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
46 - d4e_river |
9740
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
47 volumes: |
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
48 - wiki-data:/opt/wiki/moin-1.9.9/wiki/data |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
49 ports: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
50 - 8082:80 |
9720 | 51 client: |
52 container_name: "d4eriver-client" | |
53 build: | |
54 context: ../ | |
55 dockerfile: ./docker/Dockerfile.gwt-client | |
56 image: "d4e/river_client" | |
57 networks: | |
58 - d4e_river | |
59 depends_on: | |
60 - server | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
61 - mapserv |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
62 - wiki |
9720 | 63 volumes: |
64 - ../:/opt/d4e/river | |
65 ports: | |
66 - 8080:8080 | |
67 networks: | |
68 d4e_river: | |
69 name: d4e_river | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
70 volumes: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
71 mapfiles: |
9740
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
72 wiki-data: |