-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.override.yml
67 lines (62 loc) · 1.72 KB
/
docker-compose.override.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
version: '3.4'
services:
leaderboardwebapi:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80;http://+:8080
- ASPNETCORE_MANAGEMENTPORT=8080
- ConnectionStrings__LeaderboardContext=Server=sql.retrogaming.internal;Database=Leaderboard;User Id=sa;Password=Pass@word;Trusted_Connection=False
ports:
- "4972:80"
- "44369:443"
depends_on:
- sql.data
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
networks:
- frontend
- backend
gamingwebapp:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- LeaderboardApiOptions__BaseUrl=http://leaderboardwebapi
ports:
- "5618:80"
- "44325:443"
depends_on:
- leaderboardwebapi
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
networks:
- frontend
sql.data:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=Pass@word
- MSSQL_PID=Developer
- ACCEPT_EULA=Y
ports:
- "1433"
networks:
backend:
aliases:
- sql.retrogaming.internal
healthcheckui:
image: xabarilcoding/healthchecksui:latest
environment:
- HealthChecksUI:HealthChecks:0:Name=Readiness checks
- HealthChecksUI:HealthChecks:0:Uri=http://leaderboardwebapi:8080/health/ready
- HealthChecksUI:HealthChecks:1:Name=Liveliness checks
- HealthChecksUI:HealthChecks:1:Uri=http://leaderboardwebapi:8080/health/lively
depends_on:
- leaderboardwebapi
ports:
- 5000:80
networks:
- backend
networks:
frontend:
driver: bridge
backend:
driver: bridge