Skip to content
Snippets Groups Projects
Select Git revision
  • 9fde24ac83047544f5280f145f21ee50bb727ecd
  • master default protected
  • replication_test
  • dev protected
  • 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
  • luca_ba_new_interface
  • 534-bug-when-adding-access-to-user-that-is-not-registered-at-dashboard-service
  • release-1.8 protected
  • 533-integrate-semantic-recommendation
  • feature/openshift
  • 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
  • v1.10.0rc0 protected
  • v1.10.0 protected
41 results

docker-compose.dbrepo2.yml

  • Martin Weise's avatar
    9fde24ac
    History
    docker-compose.dbrepo2.yml 8.31 KiB
    # INFO: This compose file deploys the official Docker images from a staging, tested dev branch
    # MODIFIED: 2022-10-31
    # MAINTAINER: Martin Weise <martin.weise@tuwien.ac.at>
    
    version: "3.6"
    
    volumes:
      metadata-db-data:
      search-service-data:
      broker-service-data:
      authentication-service-data:
    
    networks:
      public:
        name: public
        driver: bridge
        ipam:
          config:
            - subnet: 172.29.0.0/16
      userdb:
        name: userdb
        driver: bridge
        ipam:
          config:
            - subnet: 172.28.0.0/16
      core:
        name: core
        driver: bridge
        ipam:
          config:
            - subnet: 172.27.0.0/16
    
    services:
    
      dbrepo-metadata-db:
        restart: "no"
        container_name: dbrepo-metadata-db
        hostname: metadata-db
        image: dbrepo/metadata-db:latest
        networks:
          core:
        volumes:
          - metadata-db-data:/var/lib/mysql
        ports:
          - "3306:3306"
          - "9100:9100"
        env_file:
          - .env
        logging:
          driver: json-file
    
      dbrepo-database-service:
        restart: "no"
        container_name: dbrepo-database-service
        hostname: database-service
        image: dbrepo/database-service:latest
        networks:
          userdb:
          core:
        env_file:
          - .env
        volumes:
          - /var/run/docker.sock:/var/run/docker.sock
        depends_on:
          dbrepo-container-service:
            condition: service_healthy
          dbrepo-broker-service:
            condition: service_started
          dbrepo-authentication-service:
            condition: service_healthy