Mercurial > hg > orthanc-tests
view NewTests/Concurrency/docker-compose-transfers-concurrency.yml @ 610:ec657d1a62a6 Orthanc-1.12.3
fix compatibility with python3
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 31 Jan 2024 12:18:20 +0100 |
parents | d88b0fc15f08 |
children | a5882a40ccb6 |
line wrap: on
line source
version: "3" services: orthanc-pg-a: image: ${ORTHANC_IMAGE_UNDER_TESTS:-osimis/orthanc:latest} container_name: orthanc-pg-a depends_on: [pg-a] restart: unless-stopped ports: ["8062:8042"] volumes: ["storage-orthanc-a:/var/lib/orthanc/db"] environment: # VERBOSE_ENABLED: "true" TRANSFERS_PLUGIN_ENABLED: "true" ORTHANC__POSTGRESQL: | { "Host": "pg-a", "TransactionMode": "READ COMMITTED" } ORTHANC__AUTHENTICATION_ENABLED: "false" ORTHANC__ORTHANC_PEERS: | { "a": { "Url": "http://orthanc-pg-a:8042/", "RemoteSelf": "b" }, "b": { "Url": "http://orthanc-pg-b:8042/" } } ORTHANC__OVERWRITE_INSTANCES: "true" orthanc-pg-b: image: ${ORTHANC_IMAGE_UNDER_TESTS:-osimis/orthanc:latest} container_name: orthanc-pg-b depends_on: [pg-b] restart: unless-stopped ports: ["8063:8042"] volumes: ["storage-orthanc-b:/var/lib/orthanc/db"] environment: # VERBOSE_ENABLED: "true" TRANSFERS_PLUGIN_ENABLED: "true" ORTHANC__POSTGRESQL: | { "Host": "pg-b", "TransactionMode": "READ COMMITTED" } ORTHANC__AUTHENTICATION_ENABLED: "false" ORTHANC__ORTHANC_PEERS: | { "a": { "Url": "http://orthanc-pg-a:8042/", "RemoteSelf": "b" }, "b": { "Url": "http://orthanc-pg-b:8042/" } } ORTHANC__OVERWRITE_INSTANCES: "true" pg-a: image: postgres:15 container_name: pg-a restart: unless-stopped volumes: - "storage-pg-a:/var/lib/postgresql/data" environment: POSTGRES_HOST_AUTH_METHOD: "trust" pg-b: image: postgres:15 container_name: pg-b restart: unless-stopped volumes: - "storage-pg-b:/var/lib/postgresql/data" environment: POSTGRES_HOST_AUTH_METHOD: "trust" volumes: storage-orthanc-a: storage-orthanc-b: storage-pg-a: storage-pg-b: