Mercurial > gemma
view docker/docker-compose.yml @ 4657:a89e4db7980b
Add delta to reference waterlevel to current depth.
If the current waterlevel is at LDC the delta is 0 and the profile is drawn unchanged.
If the current waterlevel is higher the delta adds to the measured depth.
If the current waterlevel is below the delta subtracts from the measured depth.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 14 Oct 2019 14:44:51 +0200 |
parents | 7ebd4154894e |
children |
line wrap: on
line source
# If you fiddle around with the following error message: # Version in "./docker-compose.yml" is unsupported # # Option 1) # Update docker and docker compose to at least docker version 17.12.0+. # # Option 2) # Change version: "3.5" to version: "3" # And delete the name configuration form `networks:` below. # version: "3.5" services: gemma_db: container_name: gemma-db build: context: ../ dockerfile: docker/Dockerfile.db image: "gemma_db" volumes: - ../schema:/opt/gemma networks: - gemma ports: - "54321:5432" gemma_geoserver: container_name: gemma-geoserver build: context: ../ dockerfile: docker/Dockerfile.geoserv depends_on: - gemma_db image: "gemma_geoserver" networks: - gemma ports: - "8280:8080" gemma_backend: container_name: gemma-backend build: context: ../ dockerfile: docker/Dockerfile.backend depends_on: - gemma_db - gemma_geoserver image: "gemma_backend" volumes: - ../:/opt/gemma networks: - gemma ports: - "8200:8000" gemma_spa: container_name: gemma-spa build: context: ../ dockerfile: docker/Dockerfile.spa depends_on: - gemma_backend - gemma_geoserver image: "gemma_spa" volumes: - ../client:/opt/gemma/client networks: - gemma ports: - "8290:8080" networks: gemma: # name: gemma needs at least docker version 17.12.0+ # API version: "3.5" # https://docs.docker.com/compose/compose-file/#name-1 name: gemma