-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.countryconfig.demo-deploy.yml
113 lines (99 loc) · 6.2 KB
/
docker-compose.countryconfig.demo-deploy.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
# 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:
notification:
environment:
- LANGUAGES=en,fr
- SENTRY_DSN=https://[email protected]/1774604
countryconfig:
image: ${DOCKERHUB_ACCOUNT}/${DOCKERHUB_REPO}:${COUNTRY_CONFIG_VERSION:-latest}
restart: unless-stopped
secrets:
- jwt-public-key.{{ts}}
environment:
- NODE_ENV=production
- FHIR_URL=http://hearth:3447/fhir
- AUTH_URL=http://auth:4040
- OPENHIM_URL=http://openhim-core:5001/fhir
- CONFIRM_REGISTRATION_URL=http://openhim-core:5001/confirm/registration
- CHECK_INVALID_TOKEN=true
- HOSTNAME=${HOSTNAME}
- SENTRY_DSN=https://[email protected]/1774604
deploy:
replicas: 1
networks:
- overlay_net
client:
environment:
- DECLARED_DECLARATION_SEARCH_QUERY_COUNT = 100
gateway:
environment:
- LANGUAGES=en,fr
- SENTRY_DSN=https://[email protected]/1774604
- NATIONAL_ID_OIDP_BASE_URL=https://idp-mock.collab.mosip.net/
- NATIONAL_ID_OID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zRSZUFVaElLQTl1YzFSRHMxc2hjM0c4emdacDNxSDZmWVdtc09pMjNCT0FfcThaLXdNSHdQSzJ2RUp2Z1pJV292QUc1akdGYk1pbE5jRlFmekxKY1EiCn0=
workflow:
environment:
- LANGUAGES=en,fr
- MOSIP_TOKEN_SEEDER_URL=http://mosiptokenseeder:8080
- SENTRY_DSN=https://[email protected]/1774604
auth:
environment:
- QA_ENV=true
- NODE_ENV=production
- SENTRY_DSN=https://[email protected]/1774604
user-mgnt:
environment:
- QA_ENV=true
- NODE_ENV=production
- SENTRY_DSN=https://[email protected]/1774604
- NATIONAL_ID_OIDP_BASE_URL=https://idp-mock.collab.mosip.net/
- NATIONAL_ID_OIDP_CLIENT_ID=3yz7-j3xRzU3SODdoNgSGvO_cD8UijH3AIWRDAg1x-M
- NATIONAL_ID_OIDP_ESSENTIAL_CLAIMS=name,address,phone_number,email,gender,birthdate
config:
environment:
- SENTRY_DSN=https://[email protected]/1774604
metrics:
environment:
- SENTRY_DSN=https://[email protected]/1774604
search:
environment:
- SENTRY_DSN=https://[email protected]/1774604
webhooks:
environment:
- SENTRY_DSN=https://[email protected]/1774604
mosiptokenseeder:
image: mosipdev/mosip-token-seeder:develop
ports:
- '8085:8080'
deploy:
replicas: 1
networks:
- overlay_net
volumes:
- /data/secrets/mosip:/seeder/certs
restart: unless-stopped
environment:
- TOKENSEEDER_MOSIP_AUTH__PARTNER_APIKEY=${TOKENSEEDER_MOSIP_AUTH__PARTNER_APIKEY}
- TOKENSEEDER_MOSIP_AUTH__PARTNER_MISP_LK=${TOKENSEEDER_MOSIP_AUTH__PARTNER_MISP_LK}
- TOKENSEEDER_MOSIP_AUTH__PARTNER_ID=opencrvs-auth-partner
- TOKENSEEDER_MOSIP_AUTH_SERVER__IDA_AUTH_DOMAIN_URI=https://api-internal.mec.mosip.net
- TOKENSEEDER_MOSIP_AUTH_SERVER__IDA_AUTH_URL=https://api.mec.mosip.net/idauthentication/v1/auth
- TOKENSEEDER_CRYPTO_SIGNATURE__SIGN_P12_FILE_PASSWORD=${TOKENSEEDER_CRYPTO_SIGNATURE__SIGN_P12_FILE_PASSWORD}
- TOKENSEEDER_AUTHTOKEN__MANDATORY_VALIDATION_AUTH_FIELDS="name,gender,dob"
- TOKENSEEDER_CRYPTO_ENCRYPT__ENCRYPT_CERT_PATH=/seeder/certs/ida.partner.crt
- TOKENSEEDER_CRYPTO_SIGNATURE__SIGN_P12_FILE_PATH=/seeder/certs/keystore.p12
- TOKENSEEDER_ROOT__SYNC_OPERATION_MODE=true
secrets:
openhim-user:
external: true
openhim-password:
external: true