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.yml
108 lines (96 loc) · 2.82 KB
/
docker-compose.dev.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
# 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:
# Expose dev secrets as a plain volume - these will use docker secrets in staging and prod
auth:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
- '.secrets/private-key.pem:/secrets/private-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
- CERT_PRIVATE_KEY_PATH=/secrets/private-key.pem
ports:
- '4040:4040'
user-mgnt:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
- HOST=0.0.0.0
ports:
- '3030:3030'
webhooks:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
- HOST=0.0.0.0
ports:
- '2525:2525'
notification:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '2020:2020'
gateway:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '7070:7070'
workflow:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '5050:5050'
search:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '9090:9090'
countryconfig:
image: opencrvs/ocrvs-farajaland:latest
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
- MONGO_URL=mongodb://mongo1/user-mgnt
- NODE_ENV=development
- FHIR_URL=http://hearth:3447/fhir
- AUTH_URL=http://auth:4040
- OPENHIM_URL=http://openhim-core:5001
- CONFIRM_REGISTRATION_URL=http://openhim-core:5001/confirm/registration
- CHECK_INVALID_TOKEN=true
ports:
- '3040:3040'
metrics:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '1050:1050'
client:
ports:
- '3000:80'
login:
ports:
- '3020:80'
config:
ports:
- '2021:2021'