-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (45 loc) · 1.21 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
version: "3"
services:
apigateway:
image: apigateway
build:
context: ./ApiGateway
dockerfile: Dockerfile
ports:
- "7000:80"
depends_on:
- db
- auth
volumes:
- ./ApiGateway/VClassroom.ApiGateway/bin/Release/netcoreapp3.1:/app
auth:
image: auth-service
hostname: auth
build:
context: ./Authentication
dockerfile: Dockerfile
ports:
- "7001:80"
depends_on:
- db
volumes:
- ./Authentication/VClassroom.Authentication.Api/bin/Release/netcoreapp3.1:/app
course-management:
image: course-management
hostname: course-management
build:
context: ./CourseManagement
dockerfile: Dockerfile
ports:
- "7002:80"
depends_on:
- db
volumes:
- ./CourseManagement/VClassroom.CourseManagement.Api/bin/Release/netcoreapp3.1:/app
db:
image: "mcr.microsoft.com/mssql/server"
environment:
SA_PASSWORD: "Mehdiidham123"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"