-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
162 lines (146 loc) · 3.94 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
version: '3.4'
services:
usermanagementservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5001
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_usermanagement:5001
- ConsulConfig__ServiceName=UserManagementService
- ConsulConfig__ServiceId=UserManagement
ports:
- 5001:5001
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_redis
- s_consul
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
groupmanagementservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5003
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_groupmanagement:5003
- ConsulConfig__ServiceName=GroupManagementService
- ConsulConfig__ServiceId=GroupManagement
ports:
- 5003:5003
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_postgresql
- s_consul
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
todomanagementservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5002
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_todomanagement:5002
- ConsulConfig__ServiceName=TodoManagementService
- ConsulConfig__ServiceId=TodoManagement
ports:
- 5002:5002
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_postgresql
- s_rabbitmq
- s_consul
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
apicompositionservice.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5004
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_apicomposition:5004
- ConsulConfig__ServiceName=ApiCompositionService
- ConsulConfig__ServiceId=ApiComposition
ports:
- 5004:5004
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_consul
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
web.apigateway:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5000
ports:
- 5000:5000
networks:
- net_apigateway
- net_backendservices
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
notificationservice:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5005
- ConsulConfig__Address=http://s_consul:8500
- ConsulConfig__ServiceAddress=http://c_notificationservice:5005
- ConsulConfig__ServiceName=NotificationService
- ConsulConfig__ServiceId=Notification
ports:
- 5005:5005
networks:
- net_backendservices
depends_on:
- web.apigateway
- s_rabbitmq
- s_consul
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
s_consul:
ports:
- 8500:8500
- 8600:8600/tcp
- 8600:8600/udp
networks:
- net_apigateway
- net_backendservices
s_postgresql:
ports:
- 5432:5432
- 6543:5432
environment:
POSTGRES_DB: "postgres"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
PGDATA: "/data/postgres"
networks:
- net_backendservices
s_redis:
ports:
- 6379:6379
networks:
- net_backendservices
s_redisinsight:
ports:
- '8001:8001'
networks:
- net_backendservices
s_rabbitmq:
ports:
- 5672:5672
- 15672:15672
networks:
- net_backendservices
networks:
net_backendservices:
driver: bridge
external: true
net_apigateway:
driver: bridge
external: true