-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.Ecosystem.yml
105 lines (100 loc) · 3.16 KB
/
docker-compose.Ecosystem.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
services:
mock-register:
container_name: mock-register
image: consumerdataright/mock-register
ports:
- "7000:7000"
- "7001:7001"
- "7006:7006"
extra_hosts:
- "mock-data-holder:host-gateway"
- "mock-data-holder-energy:host-gateway"
- "mock-data-recipient:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Release
healthcheck:
test: wget --no-check-certificate --no-verbose --spider https://localhost:7006/health || exit 1
timeout: 5s
interval: 5s
retries: 50
depends_on:
mssql:
condition: service_healthy
mock-data-holder:
container_name: mock-data-holder
image: consumerdataright/mock-data-holder
ports:
- "8000:8000"
- "8001:8001"
- "8002:8002"
- "8005:8005"
- "3000:3000"
extra_hosts:
- "mock-data-recipient:host-gateway"
- "mock-register:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Release
healthcheck:
test: wget --no-check-certificate --no-verbose --spider https://localhost:8001/health || exit 1
timeout: 5s
interval: 5s
retries: 50
depends_on:
mssql:
condition: service_healthy
mock-data-holder-energy:
container_name: mock-data-holder-energy
image: consumerdataright/mock-data-holder-energy
ports:
- "8100:8100"
- "8101:8101"
- "8102:8102"
- "8105:8105"
- "3100:3100"
extra_hosts:
- "mock-data-recipient:host-gateway"
- "mock-register:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Release
healthcheck:
test: wget --no-check-certificate --no-verbose --spider https://localhost:8101/health || exit 1
timeout: 5s
interval: 5s
retries: 50
depends_on:
mssql:
condition: service_healthy
mock-data-recipient:
container_name: mock-data-recipient
image: consumerdataright/mock-data-recipient
ports:
- "9001:9001"
extra_hosts:
- "mock-data-holder:host-gateway"
- "mock-data-holder-energy:host-gateway"
- "mock-register:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Release
healthcheck:
test: wget --no-check-certificate --no-verbose --spider https://localhost:9001/health || exit 1
timeout: 5s
interval: 5s
retries: 50
depends_on:
mssql:
condition: service_healthy
mssql:
container_name: sql1
image: 'mcr.microsoft.com/mssql/server:2022-latest'
ports:
- '1433:1433'
environment:
- ACCEPT_EULA=${ACCEPT_MSSQL_EULA:?This docker compose file utilises the Microsoft SQL Server Image from Docker Hub.
The Microsoft EULA for the Microsoft SQL Server Image must be accepted to continue. Replace this unset ACCEPT_MSSQL_EULA variable with a Y if you accept the EULA. eg ACCEPT_EULA=Y.
See the Microsoft SQL Server Image on Docker Hub for more information.}
- SA_PASSWORD=Pa{}w0rd2019
healthcheck:
test: /opt/mssql-tools18/bin/sqlcmd -S . -U sa -P "Pa{}w0rd2019" -Q "SELECT 1" -No || exit 1
timeout: 10s
interval: 10s
retries: 10