-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
65 lines (60 loc) · 1.41 KB
/
docker-compose.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
version: '3'
services:
mongo:
container_name: openhim-mongo
restart: unless-stopped
volumes:
- "mongo-db:/data/db"
- "mongo-config-db:/data/configdb"
ports:
- "127.0.0.1:27016:27017"
image: mongo:3.4
core:
container_name: openhim-core
image: jembi/openhim-core
restart: unless-stopped
environment:
- mongo_url=mongodb://mongo/openhim
- mongo_atnaUrl=mongodb://mongo/openhim
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:5000:5000"
- "127.0.0.1:5001:5001"
- "127.0.0.1:5050:5050"
- "127.0.0.1:5051:5051"
- "127.0.0.1:5052:5052"
- "127.0.0.1:7788:7788"
healthcheck:
test: "curl -sSk https://openhim-core:8080/heartbeat || exit 1"
interval: 30s
timeout: 30s
retries: 3
depends_on:
- mongo
console:
container_name: openhim-console
image: jembi/openhim-console
restart: unless-stopped
ports:
- "127.0.0.1:9000:80"
healthcheck:
test: "curl -sS http://openhim-console || exit 1"
interval: 30s
timeout: 30s
retries: 3
# volumes:
# - ./default.json:/usr/share/nginx/html/config/default.json
dhis2-mediator:
container_name: dhis2_mediator
build:
./
ports:
- "127.0.0.1:2000:2000"
restart: unless-stopped
volumes:
mongo-db:
mongo-config-db:
networks:
default:
name: openHIM
external: true