-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
53 lines (50 loc) · 1.4 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
version: '3.4'
services:
lecturemanagement:
container_name: sms-lecturemanagement
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8080
- ASPNETCORE_HTTPS_PORTS=8081
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
db:
container_name: sms-sqlserver-db
environment:
ACCEPT_EULA: 'Y'
MSSQL_SA_PASSWORD: 'YourStrong!Passw0rd'
ports:
- "1433:1433"
volumes:
- ./data:/var/opt/mssql/data
- ./log:/var/opt/mssql/log
- ./secrets:/var/opt/mssql/secrets
usermanagement:
container_name: sms-usermanagement
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5000
- ASPNETCORE_HTTPS_PORTS=5001
ports:
- "5000:5000"
- "5001:5001"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
client:
image: ${DOCKER_REGISTRY-}client
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=3000
- ASPNETCORE_HTTPS_PORTS=3001
container_name: sms-client
build:
context: .
dockerfile: SchoolManagementClient/Dockerfile
ports:
- "3000:3000"
- "3001:3001"