Skip to content
Snippets Groups Projects
Select Git revision
  • 0d6872c2724ce9c2d2780737d4d62248258f45a2
  • master default protected
  • dev protected
  • release-1.12 protected
  • 570-generate-java-docs-automatically
  • release-1.11 protected
  • replication_test_two
  • luca_ba_new_interface
  • replication_test
  • release-1.10 protected
  • 533-integrate-semantic-recommendation-2
  • 556-usage-statistics
  • 553-semantic-recommendation-2
  • 553-semantic-recommendation
  • release-1.9 protected
  • 551-init-broker-service-permissions
  • 549-test-oai-pmh
  • 545-saving-multiple-times-breaks-pid-metadata
  • 499-standalone-compute-service-2
  • 539-load-tests
  • hotfix/helm-chart
  • v1.12.0 protected
  • v1.11.0 protected
  • v1.10.5 protected
  • v1.10.4 protected
  • v1.10.3 protected
  • v1.10.2 protected
  • v1.10.1 protected
  • v1.10.0-rc13 protected
  • v1.10.0-rc12 protected
  • v1.10.0-rc11 protected
  • v1.10.0-rc10 protected
  • v1.10.0-rc9 protected
  • v1.10.0-rc8 protected
  • v1.10.0-rc7 protected
  • v1.10.0-rc6 protected
  • v1.10.0-rc5 protected
  • v1.10.0-rc4 protected
  • v1.10.0-rc3 protected
  • v1.10.0-rc2 protected
  • v1.10.0rc1 protected
41 results

docker-compose.yml

  • Moritz Staudinger's avatar
    Moritz Staudinger authored
    Former-commit-id: 2184d8fd
    2993534f
    History
    docker-compose.yml 7.52 KiB
    version: "3.6"
    
    volumes:
      fda-metadata-db-data:
      fda-broker-service-data:
    
    networks:
      fda-public:
        name: fda-public
        driver: bridge
        ipam:
          config:
            - subnet: 172.29.0.0/16
      fda-userdb:
        name: fda-userdb
        driver: bridge
        ipam:
          config:
            - subnet: 172.28.0.0/16
    
    services:
    
      fda-metadata-db:
        restart: on-failure
        container_name: fda-metadata-db
        hostname: fda-metadata-db
        build: ./fda-metadata-db
        image: fda-metadata-db
        networks:
          fda-public:
        #    ipv4_address: 172.29.0.5
        volumes:
          - fda-metadata-db-data:/var/lib/postgresql/data
        ports:
          - "5432:5432"
        environment:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: fda
          TZ: Europe/Vienna
        logging:
          driver: json-file
    
      fda-discovery-service:
        restart: on-failure
        container_name: fda-discovery-service
        hostname: fda-discovery-service
        build: ./fda-discovery-service
        image: fda-discovery-service
        networks:
          fda-public:
        #    ipv4_address: 172.29.0.4
        environment:
          SPRING_PROFILES_ACTIVE: docker
          TZ: Europe/Vienna
        depends_on:
          fda-gateway-service:
            condition: service_healthy
        ports:
          - "9090:9090"
        logging:
          driver: json-file
    
      fda-gateway-service:
        restart: on-failure
        container_name: fda-gateway-service
        hostname: fda-gateway-service
        build: ./fda-gateway-service
        image: fda-gateway-service
        networks: