/
docker-compose.override.yml
168 lines (153 loc) · 6.58 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
161
162
163
164
165
166
167
168
version: '3.0'
services:
sqlserver:
environment:
- SA_PASSWORD=yourStrong(!)Password
- ACCEPT_EULA=Y
ports:
- "1433"
mongodb:
ports:
- "27017"
rabbitmq:
ports:
- "15672"
- "5672"
redis:
ports:
- "6379"
elasticsearch:
volumes:
- ./elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200"
logstash:
volumes:
- ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
- ./elk/logstash/pipeline:/usr/share/logstash/pipeline:ro
environment:
- "LS_JAVA_OPTS=-Xmx256m -Xms256m"
ports:
- "9600"
- "5000"
kibana:
volumes:
- ./elk/kibana/config/:/usr/share/kibana/config:ro
ports:
- 51510:5601
internal-gateway:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- ReRoutes__0__DownstreamHostAndPorts__0__Host=identity-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=product-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- ReRoutes__2__DownstreamHostAndPorts__0__Host=blogging-service
- ReRoutes__2__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://internal-gateway
ports:
- "80"
backend-admin-app-gateway:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- RemoteServices__Default__BaseUrl=http://backend-admin-app-gateway/
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- ReRoutes__0__DownstreamHostAndPorts__0__Host=identity-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=product-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://backend-admin-app-gateway
ports:
- 51531:80
public-website-gateway:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- ReRoutes__0__DownstreamHostAndPorts__0__Host=product-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=blogging-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://public-website-gateway
ports:
- 51532:80
blogging-service:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- ConnectionStrings__Blogging=mongodb://mongodb/MsDemo_Blogging
- Redis__Configuration=redis
- RabbitMQ__Connections__Default__HostName=rabbitmq
- RemoteServices__Default__BaseUrl=http://internal-gateway/
ports:
- 51521:80
identity-service:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- RabbitMQ__Connections__Default__HostName=rabbitmq
ports:
- 51522:80
product-service:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- ConnectionStrings__ProductManagement=Server=sqlserver;Database=MsDemo_ProductManagement;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- RabbitMQ__Connections__Default__HostName=rabbitmq
ports:
- 51523:80
auth-server:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:51511
- ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- Redis__Configuration=redis
- RabbitMQ__Connections__Default__HostName=rabbitmq
ports:
- 51511:51511
backend-admin-app:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- RemoteServices__Default__BaseUrl=http://backend-admin-app-gateway/
- Redis__Configuration=redis
ports:
- 51512:80
public-website:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- AuthServer__Authority=http://auth-server:51511
- RemoteServices__Default__BaseUrl=http://public-website-gateway/
- Redis__Configuration=redis
ports:
- 51513:80