This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-two-platforms.yml
64 lines (63 loc) · 2.17 KB
/
docker-compose-two-platforms.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3.5'
services:
ec-registry-platform1:
build:
.
volumes:
- ./test-certificates:/test-certificates:ro
ports:
- 8443:8443
environment:
- "db_hostname=dcsa-ec-registry-test-db-platform1"
- "SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-dev}"
- "SPRING_DATASOURCE_PASSWORD=9c072fe8-c59c-11ea-b8d1-7b6577e9f3f5"
- "ROOT_LOG_LEVEL=${ROOT_LOG_LEVEL:-INFO}"
- "DCSA_LOG_LEVEL=${DCSA_LOG_LEVEL:-INFO}"
- "TLS_KEYSTORE=test-certificates/two-platforms/springboot-https-platform1.p12"
- "HOSTNAME=ec-registry-platform1"
- "KEYSTORE_LOCATION=test-certificates/two-platforms/dcsa-jwk-platform1.jks"
- "JWS_KEY_ID=dcsa-kid-platform1"
- "KEYSTORE_VERIFICATION_LOCATION=test-certificates/two-platforms/dcsa-jwk-verify-all.jks"
logging:
options:
max-file: '10'
max-size: 200k
dcsa-ec-registry-test-db-platform1:
container_name: ec_registry_db-platform1
environment:
POSTGRES_PASSWORD: "9c072fe8-c59c-11ea-b8d1-7b6577e9f3f5"
build:
datamodel/
ports:
- 5432:5432
ec-registry-platform2:
build:
.
volumes:
- ./test-certificates:/test-certificates:ro
ports:
- 8444:8444
environment:
- "db_hostname=dcsa-ec-registry-test-db-platform2"
- "SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-dev}"
- "SPRING_DATASOURCE_PASSWORD=9c072fe8-c59c-11ea-b8d1-7b6577e9f3f5"
- "PORT=8444"
- "HOSTNAME=ec-registry-platform2"
- "ROOT_LOG_LEVEL=${ROOT_LOG_LEVEL:-INFO}"
- "DCSA_LOG_LEVEL=${DCSA_LOG_LEVEL:-INFO}"
- "TLS_KEYSTORE=test-certificates/two-platforms/springboot-https-platform2.p12"
- "KEYSTORE_LOCATION=test-certificates/two-platforms/dcsa-jwk-platform2.jks"
- "JWS_KEY_ID=dcsa-kid-platform2"
- "KEYSTORE_VERIFICATION_LOCATION=test-certificates/two-platforms/dcsa-jwk-verify-all.jks"
logging:
options:
max-file: '10'
max-size: 200k
dcsa-ec-registry-test-db-platform2:
container_name: ec_registry_db-platform2
environment:
POSTGRES_PASSWORD: "9c072fe8-c59c-11ea-b8d1-7b6577e9f3f5"
build:
datamodel/
ports:
- 5433:5432