-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
509 lines (486 loc) · 21.7 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
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
services:
#############################################################################################
### TrafficCourt BACKEND ###
#############################################################################################
#############################################################################################
### Citizen API ###
#############################################################################################
citizen-api:
container_name: citizen-api
build:
context: ./src/backend/TrafficCourts
dockerfile: ./Citizen.Service/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Development}
ASPNETCORE_URLS: http://*:8080
COMS__BASEURL: ${COMS__BASEURL:-http://coms:3000}
COMS__USERNAME: ${COMS__USERNAME:-username}
COMS__PASSWORD: ${COMS__PASSWORD:-password}
FORMRECOGNIZER__APIVERSION: ${FORMRECOGNIZER__APIVERSION:-}
FORMRECOGNIZER__ENDPOINT: ${FORMRECOGNIZER__ENDPOINT:-}
FORMRECOGNIZER__MODELID: ${FORMRECOGNIZER__MODELID:-}
FORMRECOGNIZER__BILLING_URL: ${FORMRECOGNIZER__BILLING_URL:-}
FORMRECOGNIZER__APIKEY: ${FORMRECOGNIZER__APIKEY:-}
FORMRECOGNIZER__TIMEOUT: ${FORMRECOGNIZER__TIMEOUT:-120}
MASSTRANSIT__TRANSPORT: ${MASSTRANSIT__TRANSPORT:-RabbitMq}
RABBITMQ__HOST: rabbitmq
RABBITMQ__PORT: 5672
RABBITMQ__USERNAME: ${RABBITMQ__USERNAME:-guest}
RABBITMQ__PASSWORD: ${RABBITMQ__PASSWORD:-guest}
REDIS__CONNECTIONSTRING: ${REDIS__CONNECTIONSTRING:-redis:6379,password=password}
TICKETSEARCH__SEARCHTYPE: ${TICKETSEARCH__SEARCHTYPE:-Mock}
TICKETSEARCH__CLIENTID: ${TICKETSEARCH__CLIENTID:-}
TICKETSEARCH__CLIENTSECRET: ${TICKETSEARCH__CLIENTSECRET:-}
TICKETSEARCH__TOKENENDPOINT: ${TICKETSEARCH__TOKENENDPOINT:-https://wsgw.test.jag.gov.bc.ca/auth/oauth/v2/token}
TICKETSEARCH__RESOURCEURL: ${TICKETSEARCH__RESOURCEURL:-https://wsgw.test.jag.gov.bc.ca/ride/paybc/paymentsvc}
TICKETSEARCH__BASEADDRESS: ${TICKETSEARCH__BASEADDRESS:-https://wsgw.test.jag.gov.bc.ca}
JWT__AUTHORITY: ${JWT__AUTHORITY:-https://idtest.gov.bc.ca/login}
JWT__AUDIENCE: ${JWT__AUDIENCE:-ca.bc.gov.ag.tco.dev}
OAuth__USERINFOENDPOINT: ${OAuth__USERINFOENDPOINT:-https://idtest.gov.bc.ca/oauth2/userinfo}
HASHIDS__SALT: ${HASHIDS__SALT:-00000000000000000000000000000000}
SERILOG__USING__0: Serilog.Sinks.Console
SERILOG__WRITETO__0__ARGS__OUTPUTTEMPLATE: "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
SERILOG__WRITETO__0__ARGS__THEME: Serilog.Sinks.SystemConsole.Themes.ConsoleTheme::None, Serilog.Sinks.Console
SERILOG__WRITETO__0__NAME: Console
SERILOG__MINIMUMLEVEL__DEFAULT: ${SERILOG__MINIMUMLEVEL__DEFAULT:-Information}
ports:
- "5080:8080"
restart: always
depends_on:
coms:
condition: service_healthy
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
volumes:
# mount the current users usersecrets folder
- "${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro"
#############################################################################################
### Staff API ###
#############################################################################################
staff-api:
container_name: staff-api
build:
context: ./src/backend/TrafficCourts
dockerfile: ./Staff.Service/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Development}
ASPNETCORE_URLS: http://*:8080
ORACLEDATAAPI__BASEURL: ${ORACLEDATAAPI__BASEURL:-http://oracle-data-api:8080/}
COMS__BASEURL: ${COMS__BASEURL:-http://coms:3000}
COMS__USERNAME: ${COMS__USERNAME:-username}
COMS__PASSWORD: ${COMS__PASSWORD:-password}
MASSTRANSIT__TRANSPORT: ${MASSTRANSIT__TRANSPORT:-RabbitMq}
RABBITMQ__HOST: rabbitmq
RABBITMQ__PORT: 5672
RABBITMQ__USERNAME: ${RABBITMQ__USERNAME:-guest}
RABBITMQ__PASSWORD: ${RABBITMQ__PASSWORD:-guest}
JWT__AUDIENCE: ${JWT__AUDIENCE:-staff-api}
JWT__AUTHORITY: ${JWT__AUTHORITY:-https://oidc-0198bb-dev.apps.silver.devops.gov.bc.ca/realms/traffic-court}
KEYCLOAKADMINAPI__BASEURI: ${KEYCLOAKADMINAPI__BASEURI:-https://oidc-0198bb-dev.apps.silver.devops.gov.bc.ca/admin/realms/}
KEYCLOAKADMINAPI__REALM: ${KEYCLOAKADMINAPI__REALM:-traffic-court}
OAUTH__TOKENENDPOINT: ${OAUTH__TOKENURI:-https://oidc-0198bb-dev.apps.silver.devops.gov.bc.ca/realms/traffic-court/protocol/openid-connect/token}
OAUTH__CLIENTID: ${OAUTH__CLIENTID:-staff-api}
OAUTH__CLIENTSECRET: ${OAUTH__CLIENTSECRET:-}
REDIS__CONNECTIONSTRING: ${REDIS__CONNECTIONSTRING:-redis:6379,password=password}
SERILOG__USING__0: Serilog.Sinks.Console
SERILOG__WRITETO__0__ARGS__OUTPUTTEMPLATE: "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
SERILOG__WRITETO__0__ARGS__THEME: Serilog.Sinks.SystemConsole.Themes.ConsoleTheme::None, Serilog.Sinks.Console
SERILOG__WRITETO__0__NAME: Console
SERILOG__MINIMUMLEVEL__DEFAULT: ${SERILOG__MINIMUMLEVEL__DEFAULT:-Information}
TICKETSEARCH__SEARCHTYPE: ${TICKETSEARCH__SEARCHTYPE:-Mock}
TICKETSEARCH__CLIENTID: ${TICKETSEARCH__CLIENTID:-}
TICKETSEARCH__CLIENTSECRET: ${TICKETSEARCH__CLIENTSECRET:-}
TICKETSEARCH__TOKENENDPOINT: ${TICKETSEARCH__TOKENENDPOINT:-https://wsgw.test.jag.gov.bc.ca/auth/oauth/v2/token}
TICKETSEARCH__RESOURCEURL: ${TICKETSEARCH__RESOURCEURL:-https://wsgw.test.jag.gov.bc.ca/ride/paybc/paymentsvc}
TICKETSEARCH__BASEADDRESS: ${TICKETSEARCH__BASEADDRESS:-https://wsgw.test.jag.gov.bc.ca}
CDOGS__CLIENTID: ${CDOGS__CLIENTID:-cdogs}
CDOGS__CLIENTSECRET: ${CDOGS__CLIENTSECRET:-}
CDOGS__ENDPOINT: ${CDOGS__ENDPOINT:-https://cdogs-dev.api.gov.bc.ca/api}
CDOGS__TOKENENDPOINT: ${CDOGS__TOKENENDPOINT:-https://dev.loginproxy.gov.bc.ca/auth/realms/comsvcauth/protocol/openid-connect/token}
ORDSDATASERVICE__ADDRESS: ${ORDSDATASERVICE__ADDRESS}
ORDSDATASERVICE__PASSWORD: ${ORDSDATASERVICE__PASSWORD}
ORDSDATASERVICE__USERNAME: ${ORDSDATASERVICE__USERNAME}
ports:
- "5090:8080"
restart: always
depends_on:
oracle-data-api:
condition: service_healthy
coms:
condition: service_healthy
# ###########################################################################################
# ARC Dispute API ###
# ###########################################################################################
arc-dispute-api:
container_name: arc-dispute-api
build:
context: ./src/backend/TrafficCourts
dockerfile: ./TrafficCourts.Arc.Dispute.Service/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Development}
ASPNETCORE_URLS: http://+:8080
SFTP__HOST: ${SFTP__HOST:-sftp}
SFTP__PORT: ${SFTP__PORT:-22}
SFTP__USERNAME: ${SFTP__USERNAME:-demo}
SFTP__PASSWORD: ${SFTP__PASSWORD:-demo}
SFTP__SSHPRIVATEKEYPATH: ${SFTP__SSHPRIVATEKEYPATH-}
ports:
- "5030:8080"
restart: always
depends_on:
- sftp
volumes:
# mount the current users usersecrets folder
- "${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro"
sftp:
container_name: sftp
image: "emberstack/sftp"
ports:
- "22000:22"
volumes:
- ./.docker/sftp.json:/app/config/sample/sftp.json:ro
- ./sftp-in:/home/demo/sftp
# ###########################################################################################
# Workflow Service ###
# ###########################################################################################
workflow-service:
container_name: workflow-service
build:
context: ./src/backend/TrafficCourts
dockerfile: ./Workflow.Service/Dockerfile
environment:
CONNECTIONSTRINGS__SAGA: ${CONNECTIONSTRINGS__SAGA:-Host=app-db;Username=postgres;Password=password;Database=appdb}
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Development}
MASSTRANSIT__TRANSPORT: ${MASSTRANSIT__TRANSPORT:-RabbitMq}
RABBITMQ__HOST: ${RABBITMQCONFIG__HOST:-rabbitmq}
REDIS__CONNECTIONSTRING: ${REDIS__CONNECTIONSTRING:-redis:6379,password=password}
RETRYCONFIGURATION__RETRYTIMES: ${RETRYCONFIGURATION__RETRYTIMES:-5}
RETRYCONFIGURATION__RETRYINTERVAL: ${RETRYCONFIGURATION__RETRYINTERVAL:-2}
RETRYCONFIGURATION__CONCURRENCYLIMIT: ${RETRYCONFIGURATION__CONCURRENCYLIMIT:-2}
ORACLEDATAAPI__BASEURL: ${ORACLEDATAAPI__BASEURL:-http://oracle-data-api:8080/}
ARCAPICONFIGURATION__HOST: ${ARCAPICONFIGURATION__HOST:-arc-dispute-api}
ARCAPICONFIGURATION__PORT: ${ARCAPICONFIGURATION__PORT:-8080}
VIRUSSCAN__BASEURL: ${VIRUSSCAN__BASEURL:-http://virus-scan-service:8080/}
COMS__BASEURL: ${COMS__BASEURL:-http://coms:3000}
COMS__USERNAME: ${COMS__USERNAME:-username}
COMS__PASSWORD: ${COMS__PASSWORD:-password}
SMTPCONFIGURATION__HOST: ${SMTPCONFIGURATION__HOST:-smtp-server}
SMTPCONFIGURATION__PORT: ${SMTPCONFIGURATION__PORT:-5025}
EMAILCONFIGURATION__SENDER: ${EMAILCONFIGURATION__SENDER:[email protected]}
EMAILCONFIGURATION__ALLOWLIST: ${EMAILCONFIGURATION__ALLOWLIST:-}
EMAILCONFIGURATION__EMAILVERIFICATIONURL: ${EMAILCONFIGURATION__EMAILVERIFICATIONURL:-http://localhost:8080/email/verify}
HASHIDS__SALT: ${HASHIDS__SALT:-00000000000000000000000000000000}
SERILOG__USING__0: Serilog.Sinks.Console
SERILOG__WRITETO__0__ARGS__OUTPUTTEMPLATE: "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}"
SERILOG__WRITETO__0__ARGS__THEME: Serilog.Sinks.SystemConsole.Themes.ConsoleTheme::None, Serilog.Sinks.Console
SERILOG__WRITETO__0__NAME: Console
SERILOG__MINIMUMLEVEL__DEFAULT: ${SERILOG__MINIMUMLEVEL__DEFAULT:-Information}
ports:
- "5020:8080"
restart: always
depends_on:
app-db:
condition: service_healthy
coms:
condition: service_healthy
oracle-data-api:
condition: service_healthy
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
#############################################################################################
### Oracle Data API ###
#############################################################################################
oracle-data-api:
container_name: oracle-data-api
build:
context: ./src/backend/oracle-data-api
args:
- SKIP_TESTS=true
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: password
REDIS_CLUSTER_NODES: ${REDIS_CLUSTER_NODES:-}
REDIS_CLUSTER_MAX_REDIRECTS: ${REDIS_CLUSTER_MAX_REDIRECTS:-}
CODETABLE_REFRESH_ENABLED: ${CODETABLE_REFRESH_ENABLED:-true}
CODETABLE_REFRESH_CRON: ${CODETABLE_REFRESH_CRON:-0 0/15 * * * *}
UNASSIGN_DISPUTES_ENABLED: ${UNASSIGN_DISPUTES_ENABLED:-true}
H2_DATASOURCE: ${H2_DATASOURCE:-jdbc:h2:mem:testdb}
ORDS_API_AUTH_ENABLED: ${ORDS_API_AUTH_ENABLED:-false}
ORDS_API_DEBUG: ${ORDS_API_DEBUG:-false}
ORDS_API_OCCAM_URL: ${ORDS_API_OCCAM_URL:-}
ORDS_API_OCCAM_USERNAME: ${ORDS_API_OCCAM_USERNAME:-username}
ORDS_API_OCCAM_PASSWORD: ${ORDS_API_OCCAM_PASSWORD:-password}
ORDS_API_TCO_URL: ${ORDS_API_TCO_URL:-}
ORDS_API_TCO_USERNAME: ${ORDS_API_TCO_USERNAME:-username}
ORDS_API_TCO_PASSWORD: ${ORDS_API_TCO_PASSWORD:-password}
ORDS_API_TIMEOUT_MS: ${ORDS_API_TIMEOUT_MS:-2000}
ORDS_API_RETRY_COUNT: ${ORDS_API_RETRY_COUNT:-3}
ORDS_API_RETRY_DELAY_SEC: ${ORDS_API_RETRY_DELAY_SEC:-5}
SPRING_SLEUTH_ENABLED: ${SPRING_SLEUTH_ENABLED:-false}
JAVA_OPTS: ${JAVA_OPTS:--Dlogging.level.ca.bc.gov.open.jag.tco.oracledataapi=DEBUG -Dlogging.level.org.hibernate.SQL=DEBUG}
depends_on:
redis:
condition: service_healthy
ports:
- "5010:8080"
- "8000:8000"
volumes:
- data-oracle:/data
# ---------------------------------------------------------------------------------------------
# Virus Scanner
# ---------------------------------------------------------------------------------------------
virus-scan-service:
container_name: virus-scan-service
build:
context: ./src/backend/bc-gov-virus-scan
dockerfile: ./BCGov.VirusScan.Api/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Development}
ASPNETCORE_URLS: http://*:8080
CLAMAV__SERVER: ${CLAMAV__SERVER:-clamav}
#LOGGING__LOGLEVEL__DEFAULT: Debug
ports:
- "5040:8080"
depends_on:
clamav:
condition: service_healthy
#############################################################################################
### TrafficCourt FRONTEND ###
#############################################################################################
citizen-portal:
container_name: citizen-portal
build:
context: ./src/frontend/citizen-portal
restart: always
ports:
- "8080:8080"
## following is used for testing nginx.conf locally. No need to build the citizen-portal every
## time we change the nginx.conf, start a shell in the container and run 'service nginx reload' or '/etc/init.d/nginx reload'
#volumes:
# - ./src/frontend/citizen-portal/nginx.conf:/opt/app-root/etc/nginx.default.d/default.conf
depends_on:
- citizen-api
#############################################################################################
### TrafficCourt Staff FRONTEND ###
#############################################################################################
staff-portal:
container_name: staff-portal
build:
context: ./src/frontend/staff-portal
restart: always
ports:
- "8090:8080"
depends_on:
- staff-api
#############################################################################################
### RABBITMQ ###
#############################################################################################
rabbitmq:
image: rabbitmq:3.12-management
container_name: rabbitmq
hostname: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- data-rabbit:/var/lib/rabbitmq/mnesia/rabbit@app-rabbitmq:cached
restart: always
healthcheck:
test: ["CMD-SHELL", "rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms"]
interval: 5s
timeout: 5s
retries: 5
app-db:
image: postgres
container_name: app-db
ports:
- "5433:5432" # +1 to avoid conflict with coms db
environment:
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "appdb"
volumes:
- data-postgres-appdb:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
#############################################################################################
### Common Object Management Service ###
#############################################################################################
coms:
image: bcgovimages/common-object-management-service:0.4.2
container_name: coms
ports:
- 3000:3000
environment:
BASICAUTH_ENABLED: "true"
BASICAUTH_USERNAME: "username"
BASICAUTH_PASSWORD: "password"
OBJECTSTORAGE_ACCESSKEYID: ${OBJECTSTORAGE__ACCESSKEY:-username}
OBJECTSTORAGE_BUCKET: ${OBJECTSTORAGE__BUCKET:-traffic-ticket-dev}
OBJECTSTORAGE_ENDPOINT: ${OBJECTSTORAGE__ENDPOINT:-http://minio:9000}
OBJECTSTORAGE_KEY: "/"
OBJECTSTORAGE_SECRETACCESSKEY: ${OBJECTSTORAGE__SECRETKEY:-password}
DB_ENABLED: "true"
DB_HOST: "coms-db"
DB_USERNAME: "postgres"
DB_PASSWORD: "password"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000/"]
interval: 5s
timeout: 5s
retries: 5
depends_on:
coms-db-migratation:
condition: service_completed_successfully
minio-initialize:
condition: service_completed_successfully
coms-db-migratation:
image: bcgovimages/common-object-management-service:0.4.2
container_name: coms-db-migratation
environment:
DB_ENABLED: "true"
DB_HOST: "coms-db"
DB_USERNAME: "postgres"
DB_PASSWORD: "password"
command: ["npm", "run", "migrate"]
depends_on:
coms-db:
condition: service_healthy
#############################################################################################
### Common Object Management Service - database ###
#############################################################################################
coms-db:
image: postgres
container_name: coms-db
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "coms"
volumes:
- data-postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
#############################################################################################
### Minio ###
### ###
### MINIO_SITE_REGION - not sure if this is required, but matching what is in the client ###
### lists a specific version as later versions no longer support fs see JIRA 2272 ###
#############################################################################################
minio:
container_name: minio
image: minio/minio:RELEASE.2022-10-24T18-35-07Z
ports:
- 9100:9000
- 9101:9001
#volumes:
# - data-minio:/data
environment:
MINIO_ROOT_USER: "username"
MINIO_ROOT_PASSWORD: "password"
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 5s
retries: 5
minio-initialize:
image: minio/mc
depends_on:
minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
/usr/bin/mc alias set dockerminio http://minio:9000 username password;
/usr/bin/mc mb dockerminio/traffic-ticket-dev;
exit 0;
"
#############################################################################################
### ClamAV ###
#############################################################################################
clamav:
container_name: clamav
image: clamav/clamav:1.0
environment:
CLAMAV_NO_MILTERD: "true" # no sendmail filter
ports:
- 3310:3310
volumes:
- data-clamav:/var/lib/clamav
healthcheck:
# clamdcheck.sh is in /usr/local/bin, in the bcgov image, it is in /opt/app-root
test: ["CMD-SHELL", "/usr/local/bin/clamdcheck.sh"]
interval: 5s
timeout: 5s
retries: 5
#############################################################################################
### REDIS server and UI ###
#############################################################################################
redis:
container_name: redis
image: 'bitnami/redis:latest'
environment:
- REDIS_PASSWORD=password
ports:
- 6379:6379
volumes:
- data-redis:/data
healthcheck:
test: ["CMD-SHELL", "redis-cli -a password ping"]
interval: 5s
timeout: 5s
retries: 5
redis-ui:
container_name: redis-ui
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_PASSWORD=password
depends_on:
redis:
condition: service_healthy
ports:
- 8081:8081
#############################################################################################
### Fake Email server ###
#############################################################################################
smtp-server:
container_name: smtp-server
image: gessnerfl/fake-smtp-server:2.1.4
environment:
- "SERVER_PORT=8080"
- "FAKESMTP_PORT=5025"
ports:
- "5125:8080"
- "5025:5025"
#############################################################################################
### Static Maintenance Site ###
#############################################################################################
maintenance-site:
container_name: maintenance-site
build:
context: ./infrastructure/static-site/maintenance
dockerfile: ./Dockerfile
ports:
- "8100:8080"
volumes:
data-clamav:
data-minio:
data-oracle:
data-postgres:
data-postgres-appdb:
data-rabbit:
data-redis: