This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev-deps.yml
78 lines (71 loc) · 2.5 KB
/
docker-compose.dev-deps.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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
# OpenCRVS is also distributed under the terms of the Civil Registration
# & Healthcare Disclaimer located at http://opencrvs.org/license.
#
# Copyright (C) The OpenCRVS Authors. OpenCRVS and the OpenCRVS
# graphic logo are (registered/a) trademark(s) of Plan International.
version: '3.3'
services:
# For dependencies, expose ports locally for dev
mongo1:
ports:
- '27017:27017'
volumes:
- './data/mongo:/data/db'
redis:
ports:
- '6379:6379'
elasticsearch:
ports:
- '9200:9200'
- '9300:9300'
volumes:
- './data/elasticsearch:/usr/share/elasticsearch/data'
- './data/backups/elasticsearch:/data/backups/elasticsearch'
environment:
- 'discovery.type=single-node'
- 'cluster.routing.allocation.disk.threshold_enabled=false'
- path.repo=/data/backups/elasticsearch
- 'ES_JAVA_OPTS=-Xms1024m -Xmx1024m'
- bootstrap.system_call_filter=false
influxdb:
ports:
- '8086:8086'
volumes:
- './data/influxdb:/var/lib/influxdb'
- './data/backups/influxdb:/data/backups/influxdb'
# Expose dev secrets as a plain volume - these will use docker secrets in staging and prod
hearth:
environment:
- logger__level=warn
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
- './infrastructure/hearth-plugins/checkDuplicateTask.js:/src/hearth/lib/plugins/checkDuplicateTask.js'
- './infrastructure/hearth-queryparam-extensions.json:/src/hearth/config/queryparam-extensions.json'
ports:
- '3447:3447'
# Expose config as a plain volume - these will use docker config in staging and prod
openhim-console:
volumes:
- './infrastructure/openhim-console-config.json:/usr/share/nginx/html/config/default.json'
ports:
- '8888:80'
openhim-core:
ports:
- '8080:8080'
- '5000:5000'
- '5001:5001'
extra_hosts:
- 'webhooks:${LOCAL_IP-172.17.0.1}'
- 'gateway:${LOCAL_IP-172.17.0.1}'
- 'workflow:${LOCAL_IP-172.17.0.1}'
- 'search:${LOCAL_IP-172.17.0.1}'
- 'auth:${LOCAL_IP-172.17.0.1}'
- 'user-mgnt:${LOCAL_IP-172.17.0.1}'
- 'notification:${LOCAL_IP-172.17.0.1}'
- 'metrics:${LOCAL_IP-172.17.0.1}'
- 'bgd-dhis2-mediator:${LOCAL_IP-172.17.0.1}'
- 'age-verification-mediator:${LOCAL_IP-172.17.0.1}'