forked from masastack/MASA.Auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
86 lines (78 loc) · 2.25 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.4'
services:
redis:
image: redis:alpine
container_name: masa_redis
ports:
- "6380:6379"
masa.auth.database:
container_name: masa_database
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "1433:1433"
environment:
- SA_PASSWORD=P@ssw0rd
- ACCEPT_EULA=Y
masa.auth.web.admin:
container_name: masa_auth
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
#- ASPNETCORE_Kestrel__Certificates__Default__Path=/com.crt
#- ASPNETCORE_Kestrel__Certificates__Default__KeyPath=/com.key
ports:
- "18000:80"
- "18100:443"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
# - "./ssl:/ssl"
env_file:
- 'variables.env'
depends_on:
- masa.auth.service.admin
- masa.auth.web.sso
masa.auth.service.admin:
container_name: masa_service
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80 #https://+:443;
ports:
- "18002:80"
- "18102:443"
env_file:
- "variables.env"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
masa.auth.service.admin.dapr:
image: "daprio/daprd:1.5.1"
command: ["./daprd",
"-app-id", "masa-auth-service-admin",
"-app-port", "80",
"-components-path", "/components"
]
depends_on:
- masa.auth.service.admin
volumes:
- "./dapr/components/:/components"
network_mode: "service:masa.auth.service.admin"
masa.auth.web.sso:
container_name: masa_sso
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
ports:
- "18200:80"
- "18201:443"
env_file:
- "variables.env"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
# - "./ssl:/ssl"
dapr-placement:
container_name: dapr-placement
command: ["./placement", "-port", "50000", "-log-level", "debug"]
ports:
- "50000:50000"