Mercurial > hg > orthanc-tests
comparison NewTests/Concurrency/docker-compose-transfers-concurrency.yml @ 601:3e15e950c462
new transfer tests in the concurrency section
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 19 Jan 2024 15:03:47 +0100 |
parents | |
children | d88b0fc15f08 |
comparison
equal
deleted
inserted
replaced
600:58384ae69f41 | 601:3e15e950c462 |
---|---|
1 version: "3" | |
2 services: | |
3 | |
4 orthanc-pg-a: | |
5 image: ${ORTHANC_IMAGE_UNDER_TESTS:-osimis/orthanc:latest} | |
6 container_name: orthanc-pg-a | |
7 depends_on: [pg-a] | |
8 restart: unless-stopped | |
9 ports: ["8052:8042"] | |
10 volumes: ["storage-orthanc-a:/var/lib/orthanc/db"] | |
11 environment: | |
12 # VERBOSE_ENABLED: "true" | |
13 TRANSFERS_PLUGIN_ENABLED: "true" | |
14 ORTHANC__POSTGRESQL: | | |
15 { | |
16 "Host": "pg-a", | |
17 "TransactionMode": "READ COMMITTED" | |
18 } | |
19 ORTHANC__AUTHENTICATION_ENABLED: "false" | |
20 ORTHANC__ORTHANC_PEERS: | | |
21 { | |
22 "a": { | |
23 "Url": "http://orthanc-pg-a:8042/", | |
24 "RemoteSelf": "b" | |
25 }, | |
26 "b": { | |
27 "Url": "http://orthanc-pg-b:8042/" | |
28 } | |
29 } | |
30 ORTHANC__OVERWRITE_INSTANCES: "true" | |
31 | |
32 orthanc-pg-b: | |
33 image: ${ORTHANC_IMAGE_UNDER_TESTS:-osimis/orthanc:latest} | |
34 container_name: orthanc-pg-b | |
35 depends_on: [pg-b] | |
36 restart: unless-stopped | |
37 ports: ["8053:8042"] | |
38 volumes: ["storage-orthanc-b:/var/lib/orthanc/db"] | |
39 environment: | |
40 # VERBOSE_ENABLED: "true" | |
41 TRANSFERS_PLUGIN_ENABLED: "true" | |
42 ORTHANC__POSTGRESQL: | | |
43 { | |
44 "Host": "pg-b", | |
45 "TransactionMode": "READ COMMITTED" | |
46 } | |
47 ORTHANC__AUTHENTICATION_ENABLED: "false" | |
48 ORTHANC__ORTHANC_PEERS: | | |
49 { | |
50 "a": { | |
51 "Url": "http://orthanc-pg-a:8042/", | |
52 "RemoteSelf": "b" | |
53 }, | |
54 "b": { | |
55 "Url": "http://orthanc-pg-b:8042/" | |
56 } | |
57 } | |
58 ORTHANC__OVERWRITE_INSTANCES: "true" | |
59 | |
60 pg-a: | |
61 image: postgres:15 | |
62 container_name: pg-a | |
63 restart: unless-stopped | |
64 volumes: | |
65 - "storage-pg-a:/var/lib/postgresql/data" | |
66 environment: | |
67 POSTGRES_HOST_AUTH_METHOD: "trust" | |
68 | |
69 pg-b: | |
70 image: postgres:15 | |
71 container_name: pg-b | |
72 restart: unless-stopped | |
73 volumes: | |
74 - "storage-pg-b:/var/lib/postgresql/data" | |
75 environment: | |
76 POSTGRES_HOST_AUTH_METHOD: "trust" | |
77 | |
78 volumes: | |
79 storage-orthanc-a: | |
80 storage-orthanc-b: | |
81 storage-pg-a: | |
82 storage-pg-b: |