forked from rcuzco/MicroserviciosCursos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
77 lines (70 loc) · 1.57 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
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
services:
students:
build:
context: ./MicroStudents
dockerfile: Dockerfile
ports:
- "6187:5187"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5187
networks:
- microservices-network
courses:
build:
context: ./MicroCourses
dockerfile: Dockerfile
ports:
- "6156:5156"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5156
networks:
- microservices-network
teachers:
build:
context: ./MicroTeachers
dockerfile: Dockerfile
ports:
- "6200:5200"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5200
networks:
- microservices-network
enrollments:
build:
context: ./MicroEnrollments
dockerfile: Dockerfile
ports:
- "6125:5125"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5125
networks:
- microservices-network
payments:
build:
context: ./MicroPayments
dockerfile: Dockerfile
ports:
- "6010:5010"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5010
networks:
- microservices-network
frontend:
build:
context: ./FrontEnd
dockerfile: Dockerfile
ports:
- "6279:5279"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5279
networks:
- microservices-network
networks:
microservices-network:
driver: bridge