Mercurial > gemma
view docker/docker-compose.yml @ 5348:45b03e8ca47e extented-report
Toggles in user overview and in details section as well established
This commit introduces toggles to change the state for administrative
users to be able to receive the DQL Report.
For quick access there is the possibility to change via overview.
If you want to edit this in the details or if you change the role
of the user to a non administrative, there is the possibility to change
the flag in a fast way.
When the user looses administrative privilege the option is not available
and the according flag is set to "false".
Aside: Changed user.go to resolve inconsitencies in frontend where the
key "reports" was missing due to "omitempty" in marshalling the go objects.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 21 Jun 2021 16:41:39 +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