Mercurial > dive4elements > river
diff docker/docker-compose.yml @ 9734:95496d21b4da 3.2.x
Add MapServer to Docker setup
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 22 Jul 2022 17:56:11 +0200 |
parents | 13e2d38ad314 |
children | 414647dc6936 |
line wrap: on
line diff
--- a/docker/docker-compose.yml Fri Jul 22 13:07:07 2022 +0200 +++ b/docker/docker-compose.yml Fri Jul 22 17:56:11 2022 +0200 @@ -18,6 +18,24 @@ - d4e_river depends_on: - db + volumes: + - ../artifacts/doc/conf:/opt/d4e/bin/conf + - mapfiles:/opt/d4e/bin + mapserv: + container_name: "d4eriver-mapserv" + build: + context: ./ + dockerfile: ./Dockerfile.mapserv + image: "d4e/river_mapserv" + networks: + - d4e_river + depends_on: + - db + - server + volumes: + - mapfiles:/opt/d4e/bin + ports: + - 8081:80 client: container_name: "d4eriver-client" build: @@ -28,6 +46,7 @@ - d4e_river depends_on: - server + - mapserv volumes: - ../:/opt/d4e/river ports: @@ -35,3 +54,5 @@ networks: d4e_river: name: d4e_river +volumes: + mapfiles: