view docker/docker-compose.yml @ 9720:13e2d38ad314 3.2.x

Improve Docker based setup _ Make CentOS based images more resilient against package installation problems _ Upgrade database image to Debian bullseye to avoid OpenSSL bug that prevented downloading demo data and do some cleanup in passing _ Add docker-compose file for more automated setup
author Tom Gottfried <tom@intevation.de>
date Thu, 24 Feb 2022 18:49:02 +0100
parents
children 95496d21b4da
line wrap: on
line source
version: "3.5"
services:
  db:
    container_name: "d4eriver-db"
    build:
      context: ../
      dockerfile: ./docker/Dockerfile.db
    image: "d4e/river_db"
    networks:
      - d4e_river
  server:
    container_name: "d4eriver-artifacts"
    build:
      context: ../
      dockerfile: ./docker/Dockerfile.artifacts
    image: "d4e/river_artifacts"
    networks:
      - d4e_river
    depends_on:
      - db
  client:
    container_name: "d4eriver-client"
    build:
      context: ../
      dockerfile: ./docker/Dockerfile.gwt-client
    image: "d4e/river_client"
    networks:
      - d4e_river
    depends_on:
      - server
    volumes:
      - ../:/opt/d4e/river
    ports:
      - 8080:8080
networks:
  d4e_river:
    name: d4e_river

http://dive4elements.wald.intevation.org