forked from ConsumerDataRight/mock-data-recipient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
96 lines (91 loc) · 2.65 KB
/
docker-compose.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
version: '3.8'
services:
mock-register:
container_name: mock-register
image: consumerdataright/mock-register
ports:
- "7000:7000"
- "7001:7001"
- "7006:7006"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Container
healthcheck:
test: test -f /app/admin/_healthcheck_ready || exit 1
timeout: 5s
interval: 5s
retries: 20
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"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Container
healthcheck:
test: test -f /app/admin/_healthcheck_ready || exit 1
timeout: 5s
interval: 5s
retries: 20
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"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- ASPNETCORE_ENVIRONMENT=Container
healthcheck:
test: test -f /app/admin/_healthcheck_ready || exit 1
timeout: 5s
interval: 5s
retries: 20
depends_on:
mssql:
condition: service_healthy
mock-data-recipient:
container_name: mock-data-recipient
image: consumerdataright/mock-data-recipient
ports:
- "9001:9001"
environment:
- ASPNETCORE_ENVIRONMENT=Container
healthcheck:
test: test -f /app/web/_healthcheck_ready || exit 1
timeout: 5s
interval: 5s
retries: 20
depends_on:
mssql:
condition: service_healthy
mssql:
container_name: sql1
image: 'mcr.microsoft.com/mssql/server:2019-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-tools/bin/sqlcmd -S . -U sa -P "Pa{}w0rd2019" -Q "SELECT 1" || exit 1
timeout: 10s
interval: 10s
retries: 10