-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
193 lines (193 loc) · 6.91 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
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
version: "3.9"
services:
api:
build:
context: .
dockerfile: src/Services/Harmony.Api/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-api
ports:
- "7097:443"
restart: always
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7097
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
- ConnectionStrings__HarmonyConnection=Server=harmony-sql-server;database=harmony;User Id=sa;Password=%HarmonyTeams100;TrustServerCertificate=True
- AppEndpointConfiguration__AutomationEndpoint=https://harmony-automations:443/
- BrokerConfiguration__Host=harmony-rabbitmq
- ElasticConfiguration:Uri=http://elasticsearch:9200
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- sql_server
- rabbitmq
automations:
build:
context: .
dockerfile: src/Services/Harmony.Automations/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-automations
ports:
- "7277:443"
restart: always
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7277
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
- AppEndpointConfiguration__HarmonyApiEndpoint=https://harmony-api:443/
- BrokerConfiguration__Host=harmony-rabbitmq
- ConnectionStrings__HarmonyJobsConnection=Server=harmony-sql-server;database=Harmony.Automations.Jobs;User Id=sa;Password=%HarmonyTeams100;TrustServerCertificate=True
- MongoDB__ConnectionURI=mongodb://harmony-mongodb-server:27017
- ElasticConfiguration:Uri=http://elasticsearch:9200
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- sql_server
- rabbitmq
- mongodb
notifications:
build:
context: .
dockerfile: src/Services/Harmony.Notifications/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-notifications
ports:
- "7121:443"
restart: always
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7121
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
- AppEndpointConfiguration__HarmonyApiEndpoint=https://harmony.api:443/
- BrokerConfiguration__Host=harmony-rabbitmq
- ConnectionStrings__HarmonyJobsConnection=Server=harmony-sql-server;database=Harmony.Notifications.Jobs;User Id=sa;Password=%HarmonyTeams100;TrustServerCertificate=True
- ElasticConfiguration:Uri=http://elasticsearch:9200
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- sql_server
- rabbitmq
signalr:
build:
context: .
dockerfile: src/Services/Harmony.SignalR/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-signalr
ports:
- "7262:443"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7262
- BrokerConfiguration__Host=harmony-rabbitmq
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
- ElasticConfiguration:Uri=http://elasticsearch:9200
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- rabbitmq
integrations-sourcecontrol:
build:
context: .
dockerfile: src/Integrations/Harmony.Integrations.SourceControl/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-integrations-sourcecontrol
ports:
- "7113:443"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7113
- BrokerConfiguration__Host=harmony-rabbitmq
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
- MongoDB__ConnectionURI=mongodb://harmony-mongodb-server:27017
- ElasticConfiguration:Uri=http://elasticsearch:9200
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- rabbitmq
- mongodb
client:
build:
context: .
dockerfile: src/Web/Harmony.Client/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-client
ports:
- "7096:80"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7096
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
volumes:
- $USERPROFILE/.aspnet/https:/https/
depends_on:
- signalr
- api
- api_gateway
api_gateway:
build:
context: .
dockerfile: src/ApiGateways/Harmony.ApiGateway/Dockerfile
args:
BUILD_CONFIGURATION: Debug
container_name: harmony-apigateway
ports:
- "7108:443"
restart: always
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=https://+:443;http://+:80
- ASPNETCORE_HTTPS_PORT=7108
- ASPNETCORE_Kestrel__Certificates__Default__Password=HarmonyTeamsSecretKey
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/harmony.pfx
volumes:
- $USERPROFILE/.aspnet/https:/https/
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.18
container_name: elasticsearch
environment:
- xpack.monitoring.enabled=true
- xpack.watcher.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ports:
- "9200:9200"
kibana:
image: docker.elastic.co/kibana/kibana:7.17.18
container_name: kibana
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
depends_on:
- elasticsearch
ports:
- "5601:5601"
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: harmony-rabbitmq
sql_server:
image: "mcr.microsoft.com/mssql/server:2022-latest"
container_name: harmony-sql-server
environment:
- ACCEPT_EULA=y
- SA_PASSWORD=%HarmonyTeams100
mongodb:
image: mongo:latest
container_name: harmony-mongodb-server