-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
64 lines (59 loc) · 1.84 KB
/
docker-compose.dev.yml
File metadata and controls
64 lines (59 loc) · 1.84 KB
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
# 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:
# 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'
events:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '5555:5555'
gateway:
volumes:
- '.secrets/public-key.pem:/secrets/public-key.pem'
environment:
- CERT_PUBLIC_KEY_PATH=/secrets/public-key.pem
ports:
- '7070:7070'
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
- AUTH_URL=http://auth:4040
- CHECK_INVALID_TOKEN=true
ports:
- '3040:3040'
client:
ports:
- '3000:3000'
login:
ports:
- '3020:3020'