Mercurial > dive4elements > river
annotate docker/docker-compose.yml @ 9802:a9641367812c 3.2.x
Improve locale support in artifacts container
Makes it easier to run scripts e.g. for importing data.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 29 May 2024 10:51:00 +0200 |
parents | a00bb9d39c16 |
children | a440ebd5c23b |
rev | line source |
---|---|
9720 | 1 version: "3.5" |
2 services: | |
3 db: | |
4 build: | |
5 context: ../ | |
6 dockerfile: ./docker/Dockerfile.db | |
7 image: "d4e/river_db" | |
9790
75dc4ea60938
Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents:
9789
diff
changeset
|
8 artifacts: |
9720 | 9 build: |
10 context: ../ | |
11 dockerfile: ./docker/Dockerfile.artifacts | |
12 image: "d4e/river_artifacts" | |
13 depends_on: | |
14 - db | |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
15 volumes: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
16 - ../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
|
17 - artifacts-data:/opt/d4e/bin/artifacts-data |
9764
b5d4cb088737
Add named volume for DEM data
Tom Gottfried <tom@intevation.de>
parents:
9760
diff
changeset
|
18 - dgm-data:/opt/d4e-river/dgm |
9760
9bbb29142ddb
Give hints for remote debugging artifact server
Tom Gottfried <tom@intevation.de>
parents:
9755
diff
changeset
|
19 # Uncomment to enable remote debugging from anywhere (caution: security risk!) |
9bbb29142ddb
Give hints for remote debugging artifact server
Tom Gottfried <tom@intevation.de>
parents:
9755
diff
changeset
|
20 # environment: |
9bbb29142ddb
Give hints for remote debugging artifact server
Tom Gottfried <tom@intevation.de>
parents:
9755
diff
changeset
|
21 # - JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8787 |
9bbb29142ddb
Give hints for remote debugging artifact server
Tom Gottfried <tom@intevation.de>
parents:
9755
diff
changeset
|
22 # ports: |
9bbb29142ddb
Give hints for remote debugging artifact server
Tom Gottfried <tom@intevation.de>
parents:
9755
diff
changeset
|
23 # - 8787:8787 |
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 build: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
26 context: ./ |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
27 dockerfile: ./Dockerfile.mapserv |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
28 image: "d4e/river_mapserv" |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
29 depends_on: |
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
30 - db |
9790
75dc4ea60938
Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents:
9789
diff
changeset
|
31 - artifacts |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
32 volumes: |
9749
68c6fe74a276
Allow changing CGI scripts without re-building
Tom Gottfried <tom@intevation.de>
parents:
9748
diff
changeset
|
33 - ./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
|
34 - ../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
|
35 - artifacts-data:/opt/d4e/bin/artifacts-data |
9720 | 36 client: |
37 build: | |
38 context: ../ | |
39 dockerfile: ./docker/Dockerfile.gwt-client | |
40 image: "d4e/river_client" | |
41 depends_on: | |
9790
75dc4ea60938
Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents:
9789
diff
changeset
|
42 - artifacts |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
43 - mapserv |
9720 | 44 volumes: |
9747
cfc0aab9947f
Enable bind-mounting client configuration in docker container
Tom Gottfried <tom@intevation.de>
parents:
9740
diff
changeset
|
45 - ../gwt-client/config:/opt/d4e/river/gwt-client/config |
9754
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
46 wiki: |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
47 build: |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
48 context: ./ |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
49 dockerfile: ./Dockerfile.wiki |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
50 image: "d4e/river_wiki" |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
51 depends_on: |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
52 - client |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
53 volumes: |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
54 - wiki-data:/opt/wiki/moin-1.9.9/wiki/data |
cd07130ded8d
Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents:
9751
diff
changeset
|
55 - ./wikiconfig_local.py:/opt/wiki/moin-1.9.9/wikiconfig_local.py |
9720 | 56 ports: |
9791
a00bb9d39c16
Drop explicit host ports
Tom Gottfried <tom@intevation.de>
parents:
9790
diff
changeset
|
57 - 80 |
9734
95496d21b4da
Add MapServer to Docker setup
Tom Gottfried <tom@intevation.de>
parents:
9720
diff
changeset
|
58 volumes: |
9751
308a0d822d18
Keep configuration and data in distinct directories
Tom Gottfried <tom@intevation.de>
parents:
9749
diff
changeset
|
59 artifacts-data: |
9764
b5d4cb088737
Add named volume for DEM data
Tom Gottfried <tom@intevation.de>
parents:
9760
diff
changeset
|
60 dgm-data: |
9740
8abcb3cdaff1
Persist wiki data in volume
Tom Gottfried <tom@intevation.de>
parents:
9739
diff
changeset
|
61 wiki-data: |