Mercurial > dive4elements > river
annotate docker/docker-compose.yml @ 9753:7227621f8496 3.2.x
Get rid of duplicate MapServer URL configurations
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 11 Oct 2022 14:02:20 +0200 |
parents | 308a0d822d18 |
children | cd07130ded8d |
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 |
9751
308a0d822d18
Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents:
9749
diff
changeset
|
23 - artifacts-data:/opt/d4e/bin/artifacts-data |
9734
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: |
9749
68c6fe74a276
Allow changing CGI scripts without re-building
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
36 - ./mapserver/cgi-bin:/var/www/cgi-bin |
9751
308a0d822d18
Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents:
9749
diff
changeset
|
37 - ../artifacts/doc/conf/mapserver:/opt/d4e/bin/conf/mapserver |
308a0d822d18
Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents:
9749
diff
changeset
|
38 - artifacts-data:/opt/d4e/bin/artifacts-data |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
39 ports: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
40 - 8081:80 |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
41 wiki: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
42 container_name: "d4eriver-wiki" |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
43 build: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
44 context: ./ |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
45 dockerfile: ./Dockerfile.wiki |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
46 image: "d4e/river_wiki" |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
47 networks: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
48 - d4e_river |
9740
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
49 volumes: |
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
50 - wiki-data:/opt/wiki/moin-1.9.9/wiki/data |
9748
edaae6f76fc7
Bind-mount wiki configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
9747
diff
changeset
|
51 - ./wikiconfig_local.py:/opt/wiki/moin-1.9.9/wikiconfig_local.py |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
52 ports: |
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
53 - 8082:80 |
9720 | 54 client: |
55 container_name: "d4eriver-client" | |
56 build: | |
57 context: ../ | |
58 dockerfile: ./docker/Dockerfile.gwt-client | |
59 image: "d4e/river_client" | |
60 networks: | |
61 - d4e_river | |
62 depends_on: | |
63 - server | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
64 - mapserv |
9739
414647dc6936
Add wiki to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9734
diff
changeset
|
65 - wiki |
9720 | 66 volumes: |
9747
cfc0aab9947f
Enable bind-mounting client configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
9740
diff
changeset
|
67 - ../gwt-client/config:/opt/d4e/river/gwt-client/config |
9720 | 68 ports: |
69 - 8080:8080 | |
70 networks: | |
71 d4e_river: | |
72 name: d4e_river | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
73 volumes: |
9751
308a0d822d18
Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents:
9749
diff
changeset
|
74 artifacts-data: |
9740
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
75 wiki-data: |