-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.enterprise.yml
334 lines (334 loc) · 10.5 KB
/
docker-compose.enterprise.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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
version: "2"
services:
all-all-aws-connector:
depends_on:
- config-store
environment:
CONNECTORS: nat.create.aws,nat.update.aws,nat.delete.aws,network.create.aws,network.delete.aws,route53.create.aws,route53.delete.aws,route53.update.aws,s3.create.aws,s3.update.aws,s3.delete.aws,elb.create.aws,elb.delete.aws,elb.update.aws,vpc.create.aws,vpc.delete.aws,instance.delete.aws,instance.update.aws,instance.create.aws,firewall.create.aws,firewall.update.aws,firewall.delete.aws,ebs_volume.create.aws,ebs_volume.delete.aws,rds_cluster.create.aws,rds_cluster.update.aws,rds_cluster.delete.aws,rds_instance.create.aws,rds_instance.update.aws,rds_instance.delete.aws,nats.find.aws,networks.find.aws,route53s.find.aws,s3s.find.aws,elbs.find.aws,vpcs.find.aws,instances.find.aws,firewalls.find.aws,ebs_volumes.find.aws,rds_clusters.find.aws,rds_instances.find.aws,internet_gateway.create.aws,internet_gateway.delete.aws,internet_gateways.find.aws,iam_role.create.aws,iam_role.delete.aws,iam_roles.find.aws,iam_policy.create.aws,iam_policy.delete.aws,iam_policies.find.aws,iam_instance_profile.create.aws,iam_instance_profile.delete.aws,iam_instance_profiles.find.aws
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/all-all-aws-connector:3.16.0
networks:
- ernest
restart: always
all-all-azure-connector:
depends_on:
- config-store
environment:
CONNECTORS: public_ip.create.azure,public_ip.update.azure,public_ip.delete.azure,public_ips.find.azure,virtual_network.create.azure,virtual_network.update.azure,virtual_network.delete.azure,virtual_networks.find.azure,resource_group.create.azure,resource_group.update.azure,resource_group.delete.azure,resource_groups.find.azure,subnet.create.azure,subnet.update.azure,subnet.delete.azure,subnets.find.azure,network_interface.create.azure,network_interface.update.azure,network_interface.delete.azure,network_inerfaces.find.azure,storage_account.create.azure,storage_account.update.azure,storage_account.delete.azure,storage_accounts.find.azure,storage_container.create.azure,storage_container.update.azure,storage_container.delete.azure,storage_containers.find.azure,virtual_machine.create.azure,virtual_machine.update.azure,virtual_machine.delete.azure,virtual_machines.find.azure,lb.create.azure,lb.update.azure,lb.deletev,lbs.find.azure,sql_server.create.azure,sql_server.update.azure,sql_server.delete.azure,sql_servers.find.azure,local_network_gateway.create.azure,local_network_gateway.update.azure,local_network_gateway.delete.azure,local_network_gateways.find.azure,network_security_group.create.azure,network_security_group.update.azure,network_security_group.delete.azure,network_security_groups.find.azure,sql_database.create.azure,sql_database.update.azure,sql_database.delete.azure,sql_databases.find.azure,availability_set.create.azure,availability_set.update.azure,availability_set.delete.azure,availability_sets.find.azure,managed_disk.create.azure,managed_disk.update.azure,managed_disk.delete.azure,managed_disks.find.azure
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/all-all-azure-connector:3.16.0
networks:
- ernest
restart: always
all-all-fake-connector:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/all-all-fake-connector:3.16.0
networks:
- ernest
restart: always
all-all-vcloud-connector:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/all-all-vcloud-connector:3.16.0
networks:
- ernest
restart: always
api-gateway:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/api-gateway:3.16.0
networks:
- ernest
ports:
- 8080:8080
restart: always
authenticator:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/authenticator:3.16.0
networks:
- ernest
restart: always
authorization-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/authorization-store:3.16.0
networks:
- ernest
restart: always
compliance:
depends_on:
- config-store
environment:
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/compliance:3.16.0
networks:
- ernest
restart: always
config-store:
depends_on:
- nats
entrypoint: ./config-store -config /etc/ernest/config.json
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/config-store:3.16.0
networks:
- ernest
restart: always
volumes:
- ./config/config-store/:/etc/ernest/
datacenter-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/datacenter-store:3.16.0
networks:
- ernest
restart: always
definition-mapper:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/definition-mapper:3.16.0
networks:
- ernest
restart: always
federation:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/federation:3.16.0
networks:
- ernest
restart: always
logger:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
ERNEST_LOG_CONFIG: /etc/ernest/
ERNEST_LOG_FILE: /var/logs/ernest.log
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/logger:3.16.0
networks:
- ernest
ports:
- 22001:22001
restart: always
volumes:
- ./logs/:/var/logs/
- ./config/:/etc/ernest/
mfa:
depends_on:
- config-store
environment:
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/mfa:3.16.0
networks:
- ernest
restart: always
monit:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/monit:3.16.0
networks:
- ernest
ports:
- 22000:22000
restart: always
nats:
image: nats
networks:
- ernest
ports:
- 4222:4222
restart: always
nginx:
image: nginx:1.13.5-alpine
networks:
- ernest
ports:
- 443:443
restart: always
volumes:
- ./config/nginx/ernest.local:/etc/nginx/conf.d/default.conf
- ./config/nginx/ernest.key:/etc/nginx/conf.d/ernest.key
- ./config/nginx/ernest.crt:/etc/nginx/conf.d/ernest.crt
notification-store:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/notification-store:3.16.0
networks:
- ernest
restart: always
notify:
depends_on:
- config-store
environment:
ERNEST_EDITION: enterprise
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/notify:3.16.0
networks:
- ernest
ports:
- 22002:22002
restart: always
papi:
depends_on:
- config-store
environment:
DEFAULT_PORT: 8081
DEFAULT_TARGET: http://api-gateway:8080/
ERNEST_EDITION: enterprise
JWT_SECRET: GENERATEDJWTSECRET
NATS_URI: nats://nats:4222
image: quay.io/ernest/papi:3.16.0
networks:
- ernest
ports:
- 8081:8081
restart: always
policy-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/policy-store:3.16.0
networks:
- ernest
restart: always
postgres:
environment:
DB_NAME: users,projects,environments,usage,authorizations,policies
image: postgres:9.6.5-alpine
networks:
- ernest
restart: always
volumes:
- ./config/postgres:/docker-entrypoint-initdb.d
- ./postgres/data:/var/lib/postgresql/data
scheduler:
depends_on:
- config-store
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/scheduler:3.16.0
networks:
- ernest
restart: always
service-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/service-store:3.16.0
networks:
- ernest
restart: always
supervisor:
depends_on:
- config-store
environment:
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/supervisor:3.16.0
networks:
- ernest
restart: always
usage-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/usage-store:3.16.0
networks:
- ernest
restart: always
user-store:
depends_on:
- config-store
- postgres
environment:
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE
ERNEST_EDITION: enterprise
NATS_URI: nats://nats:4222
image: quay.io/ernest/user-store:3.16.0
networks:
- ernest
restart: always
webui:
environment:
ERNEST_EDITION: enterprise
image: quay.io/ernest/webui:3.16.0
networks:
- ernest
restart: always
volumes:
- ./config/webui/app.globals.ts:/repo/src/app/app.globals.ts
networks:
ernest:
driver: bridge