comparison NewTests/PostgresUpgrades/docker-compose.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 f3475c3e42e5
children a5882a40ccb6
comparison
equal deleted inserted replaced
600:58384ae69f41 601:3e15e950c462
24 restart: unless-stopped 24 restart: unless-stopped
25 ports: ["8052:8042"] 25 ports: ["8052:8042"]
26 volumes: ["storage-orthanc-pg-15:/var/lib/orthanc/db"] 26 volumes: ["storage-orthanc-pg-15:/var/lib/orthanc/db"]
27 environment: 27 environment:
28 VERBOSE_ENABLED: "true" 28 VERBOSE_ENABLED: "true"
29 PG_HOST: "pg-15" 29 ORTHANC__POSTGRESQL__HOST: "pg-15"
30 PG_LOCK: "false" 30 ORTHANC__AUTHENTICATION_ENABLED: "false"
31 PG_INDEX_ENABLED: "true"
32 AC_AUTHENTICATION_ENABLED: "false"
33 31
34 # Orthanc previous version to run the integration tests 32 # Orthanc previous version to run the integration tests
35 orthanc-pg-15-61-for-integ-tests: 33 orthanc-pg-15-61-for-integ-tests:
36 image: osimis/orthanc:24.1.2 34 image: osimis/orthanc:24.1.2
37 container_name: orthanc-pg-15-61-for-integ-tests 35 container_name: orthanc-pg-15-61-for-integ-tests
44 - ./docker-entrypoint-integ-tests.sh:/docker-entrypoint-integ-tests.sh 42 - ./docker-entrypoint-integ-tests.sh:/docker-entrypoint-integ-tests.sh
45 entrypoint: /docker-entrypoint-integ-tests.sh 43 entrypoint: /docker-entrypoint-integ-tests.sh
46 44
47 environment: 45 environment:
48 VERBOSE_ENABLED: "true" 46 VERBOSE_ENABLED: "true"
49 PG_HOST: "pg-15" 47 ORTHANC__POSTGRESQL__HOST: "pg-15"
50 PG_LOCK: "false" 48 ORTHANC__AUTHENTICATION_ENABLED: "false"
51 PG_INDEX_ENABLED: "true"
52 AC_AUTHENTICATION_ENABLED: "false"
53 49
54 orthanc-tests: 50 orthanc-tests:
55 image: jodogne/orthanc-tests 51 image: jodogne/orthanc-tests
56 container_name: orthanc-tests 52 container_name: orthanc-tests
57 depends_on: 53 depends_on:
70 restart: unless-stopped 66 restart: unless-stopped
71 ports: ["8050:8042"] 67 ports: ["8050:8042"]
72 volumes: ["storage-orthanc-pg-15:/var/lib/orthanc/db"] 68 volumes: ["storage-orthanc-pg-15:/var/lib/orthanc/db"]
73 environment: 69 environment:
74 VERBOSE_ENABLED: "true" 70 VERBOSE_ENABLED: "true"
75 ORTHANC__AUTHENTICATION_ENABLED: "false"
76 ORTHANC__POSTGRESQL: | 71 ORTHANC__POSTGRESQL: |
77 { 72 {
78 "Host": "pg-15", 73 "Host": "pg-15",
79 "TransactionMode": "READ COMMITTED" 74 "TransactionMode": "READ COMMITTED"
80 } 75 }
76 ORTHANC__AUTHENTICATION_ENABLED: "false"
81 77
82 78
83 pg-15: 79 pg-15:
84 image: postgres:15 80 image: postgres:15
85 container_name: pg-15 81 container_name: pg-15
86 restart: unless-stopped 82 restart: unless-stopped
87 ports: ["5439:5432"]
88 volumes: 83 volumes:
89 - "storage-pg-15:/var/lib/postgresql/data" 84 - "storage-pg-15:/var/lib/postgresql/data"
90 - "./downgrade.sh:/scripts/downgrade.sh" 85 - "./downgrade.sh:/scripts/downgrade.sh"
91 - "./downgrade.sql:/scripts/downgrade.sql" 86 - "./downgrade.sql:/scripts/downgrade.sql"
92 environment: 87 environment:
106 restart: unless-stopped 101 restart: unless-stopped
107 ports: ["8051:8042"] 102 ports: ["8051:8042"]
108 volumes: ["storage-orthanc-pg-9:/var/lib/orthanc/db"] 103 volumes: ["storage-orthanc-pg-9:/var/lib/orthanc/db"]
109 environment: 104 environment:
110 VERBOSE_ENABLED: "true" 105 VERBOSE_ENABLED: "true"
111 ORTHANC__AUTHENTICATION_ENABLED: "false"
112 ORTHANC__POSTGRESQL: | 106 ORTHANC__POSTGRESQL: |
113 { 107 {
114 "Host": "pg-9", 108 "Host": "pg-9",
115 "TransactionMode": "READ COMMITTED" 109 "TransactionMode": "READ COMMITTED"
116 } 110 }
111 ORTHANC__AUTHENTICATION_ENABLED: "false"
117 112
118 113
119 pg-9: 114 pg-9:
120 image: postgres:9.5 115 image: postgres:9.5
121 container_name: pg-9 116 container_name: pg-9
122 restart: unless-stopped 117 restart: unless-stopped
123 ports: ["5440:5432"]
124 volumes: ["storage-pg-9:/var/lib/postgresql/data"] 118 volumes: ["storage-pg-9:/var/lib/postgresql/data"]
125 environment: 119 environment:
126 POSTGRES_HOST_AUTH_METHOD: "trust" 120 POSTGRES_HOST_AUTH_METHOD: "trust"
127 healthcheck: 121 healthcheck:
128 test: pg_isready -U postgres -d postgres 122 test: pg_isready -U postgres -d postgres