-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.override.yml
94 lines (84 loc) · 2.47 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
87
88
89
90
91
92
93
94
version: '3.4'
services:
redis:
image: redis:alpine
masa.scheduler.database:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "14333:1433"
environment:
- SA_PASSWORD=P@ssw0rd
- ACCEPT_EULA=Y
masa.scheduler.web.admin:
environment:
- ASPNETCORE_ENVIRONMENT=Develop
- ASPNETCORE_URLS=http://+:80 #;https://+:443
ports:
- "19600:80"
- "19610:443"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
depends_on:
- masa.scheduler.service.server
masa.scheduler.service.server:
environment:
- ASPNETCORE_ENVIRONMENT=Develop
- ASPNETCORE_URLS=http://+:80 #;https://+:443
- DAPR_HTTP_PORT=3600
- DAPR_GRPC_PORT=51000
ports:
- "19601:80"
- "19611:443"
depends_on:
- masa.scheduler.database
- redis
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
masa.scheduler.service.server.dapr:
image: "daprio/daprd:1.5.1"
command: ["./daprd",
"-app-id", "masa-scheduler-server",
"-app-port", "80",
"-dapr-http-port", "3600",
"-dapr-grpc-port", "51000",
"-components-path", "/components"
]
depends_on:
- masa.scheduler.service.server
volumes:
- "./dapr/components/:/components"
network_mode: "service:masa.scheduler.service.server"
masa.scheduler.service.worker:
environment:
- ASPNETCORE_ENVIRONMENT=Develop
- ASPNETCORE_URLS=http://+:80 #;https://+:443
- DAPR_HTTP_PORT=3601
- DAPR_GRPC_PORT=51001
ports:
- "19602:80"
- "19612:443"
depends_on:
- masa.scheduler.database
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
masa.scheduler.service.worker.dapr:
image: "daprio/daprd:1.5.1"
command: ["./daprd",
"-app-id", "masa-scheduler-worker",
"-app-port", "80",
"-dapr-http-port", "3601",
"-dapr-grpc-port", "51001",
"-components-path", "/components"
]
depends_on:
- masa.scheduler.service.worker
volumes:
- "./dapr/components/:/components"
network_mode: "service:masa.scheduler.service.worker"
dapr-placement:
command: ["./placement", "-port", "50000", "-log-level", "debug"]
ports:
- "50050:50000"