-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.openhim.yml
36 lines (33 loc) · 1.07 KB
/
docker-compose.openhim.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
version: '3.8'
networks:
mapper-cluster-network:
external: true
name: mapper-cluster-network
services:
openhim-core:
container_name: openhim-core
image: jembi/openhim-core:5
networks:
- mapper-cluster-network
environment:
- mongo_url=mongodb://mapper-mongo-1:27017,mapper-mongo-2:27017,mapper-mongo-3:27017/openhim?replicaSet=mapper-mongo-set
- mongo_atnaUrl=mongodb://mapper-mongo-1:27017,mapper-mongo-2:27017,mapper-mongo-3:27017/openhim?replicaSet=mapper-mongo-set
- api_authenticationTypes=["token", "basic"]
- authentication_enableCustomTokenAuthentication=true
- authentication_enableJWTAuthentication=true
- authentication_jwt_secretOrPublicKey=secret
- authentication_jwt_algorithms=HS256
- authentication_jwt_issuer=openhim
ports:
- "8080:8080"
- "5000:5000"
- "5001:5001"
openhim-console:
container_name: openhim-console
image: jembi/openhim-console:1.14
networks:
- mapper-cluster-network
ports:
- "9000:80"
depends_on:
- openhim-core