Skip to content
Snippets Groups Projects
Select Git revision
  • 4085cfa27a1573b2f8c1aa0c516ad574d5097ad9
  • master default protected
  • replication_test
  • release-1.10 protected
  • dev protected
  • 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
  • 518-spark-doesn-t-map-the-headers-correct
  • 485-fixity-checks
  • 530-various-schema-problems-with-subsets
  • release-1.7 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
  • v1.9.3 protected
  • v1.9.2 protected
  • v1.9.2-rc0 protected
41 results

docker-compose.yml

Blame
  • docker-compose.yml 6.42 KiB
    # INFO: This compose file builds the local branch and deploys them as a small, local test instance
    # MODIFIED: 2023-06-01
    # MAINTAINER: Martin Weise <martin.weise@tuwien.ac.at>
    
    version: "3.6"
    
    volumes:
      metadata-db-data:
      data-db-data:
      auth-db-data:
      upload-service-data:
      search-db-data:
      broker-service-data:
      authentication-service-data:
    
    networks:
      public:
        name: public
        driver: bridge
        ipam:
          config:
            - subnet: 172.31.0.0/16
      core:
        name: core
        driver: bridge
        ipam:
          config:
            - subnet: 172.32.0.0/16
    
    services:
    
      dbrepo-metadata-db:
        restart: "no"
        container_name: dbrepo-metadata-db
        hostname: metadata-db
        image: bitnami/mariadb:10.5
        networks:
          core:
        volumes:
          - metadata-db-data:/bitnami/mariadb
          - ./dbrepo-metadata-db/setup-schema_local.sql:/docker-entrypoint-initdb.d/setup-schema_local.sql
        ports:
          - "3306:3306"
          - "9100:9100"
        env_file:
          - .env
        healthcheck:
          test: mysqladmin ping --user="$METADATA_USERNAME" --password="$METADATA_PASSWORD" --silent
          interval: 10s
          timeout: 5s
          retries: 12
        logging:
          driver: json-file
    
      dbrepo-data-db:
        restart: "no"
        container_name: dbrepo-data-db
        hostname: data-db
        image: bitnami/mariadb:10.5
        networks:
          core:
        volumes:
          - data-db-data:/bitnami/mariadb
          - "/tmp:/tmp"
        ports:
          - "3307:3306"
          - "9101:9100"
        env_file:
          - .env
        environment: