-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathdocker-compose.demo-deps.yml
69 lines (63 loc) · 2.01 KB
/
docker-compose.demo-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
# 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 located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
services:
# For dependencies, expose ports locally for dev
mongo1:
ports:
- '27017:27017'
volumes:
- './data/mongo:/data/db'
logging:
driver: 'none'
redis:
ports:
- '6379:6379'
logging:
driver: 'none'
elasticsearch:
ports:
- '9200:9200'
- '9300:9300'
volumes:
- './data/elasticsearch:/usr/share/elasticsearch/data'
logging:
driver: 'none'
# elasticsearch browser. Uncomment during development, along with the environment variables for elastic above, to browse Elastic via a GUI at http://localhost:1358/
#dejavu:
#image: appbaseio/dejavu:3.2.3
#container_name: dejavu
#ports:
# - "1358:1358"
#links:
# - elasticsearch
# grafana browser. Uncomment during development, to browse Influxdb via a GUI at http://localhost:4000/
# influx will be running on http://influxdb:8086
#grafana:
#image: grafana/grafana:5.1.0
#ports:
# - "4000:3000"
#volumes:
# - ./grafana:/var/lib/grafana
influxdb:
ports:
- '8086:8086'
volumes:
- './data/influxdb:/var/lib/influxdb'
logging:
driver: 'none'
# Expose dev secrets as a plain volume - these will use docker secrets in staging and prod
hearth:
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'
logging:
driver: 'none'
ports:
- '3447:3447'