comparison docker/docker-compose.yml @ 9754:cd07130ded8d 3.2.x

Route GWT client through wiki container This reduces the need for local configuration changes to get a working Docker-based setup.
author Tom Gottfried <tom@intevation.de>
date Wed, 12 Oct 2022 10:45:13 +0200
parents 308a0d822d18
children 0834c2591e14
comparison
equal deleted inserted replaced
9753:7227621f8496 9754:cd07130ded8d
36 - ./mapserver/cgi-bin:/var/www/cgi-bin 36 - ./mapserver/cgi-bin:/var/www/cgi-bin
37 - ../artifacts/doc/conf/mapserver:/opt/d4e/bin/conf/mapserver 37 - ../artifacts/doc/conf/mapserver:/opt/d4e/bin/conf/mapserver
38 - artifacts-data:/opt/d4e/bin/artifacts-data 38 - artifacts-data:/opt/d4e/bin/artifacts-data
39 ports: 39 ports:
40 - 8081:80 40 - 8081:80
41 wiki:
42 container_name: "d4eriver-wiki"
43 build:
44 context: ./
45 dockerfile: ./Dockerfile.wiki
46 image: "d4e/river_wiki"
47 networks:
48 - d4e_river
49 volumes:
50 - wiki-data:/opt/wiki/moin-1.9.9/wiki/data
51 - ./wikiconfig_local.py:/opt/wiki/moin-1.9.9/wikiconfig_local.py
52 ports:
53 - 8082:80
54 client: 41 client:
55 container_name: "d4eriver-client" 42 container_name: "d4eriver-client"
56 build: 43 build:
57 context: ../ 44 context: ../
58 dockerfile: ./docker/Dockerfile.gwt-client 45 dockerfile: ./docker/Dockerfile.gwt-client
60 networks: 47 networks:
61 - d4e_river 48 - d4e_river
62 depends_on: 49 depends_on:
63 - server 50 - server
64 - mapserv 51 - mapserv
65 - wiki
66 volumes: 52 volumes:
67 - ../gwt-client/config:/opt/d4e/river/gwt-client/config 53 - ../gwt-client/config:/opt/d4e/river/gwt-client/config
54 wiki:
55 container_name: "d4eriver-wiki"
56 build:
57 context: ./
58 dockerfile: ./Dockerfile.wiki
59 image: "d4e/river_wiki"
60 networks:
61 - d4e_river
62 depends_on:
63 - client
64 volumes:
65 - wiki-data:/opt/wiki/moin-1.9.9/wiki/data
66 - ./wikiconfig_local.py:/opt/wiki/moin-1.9.9/wikiconfig_local.py
68 ports: 67 ports:
69 - 8080:8080 68 - 8080:80
70 networks: 69 networks:
71 d4e_river: 70 d4e_river:
72 name: d4e_river 71 name: d4e_river
73 volumes: 72 volumes:
74 artifacts-data: 73 artifacts-data:

http://dive4elements.wald.intevation.org