-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.08 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
version: '3.0'
services:
resource-server:
image: openmhealth/shimmer-resource-server
restart: always
environment:
SPRING_PROFILES_ACTIVE: development
depends_on:
- mongo
env_file:
- ./shimmer-resource-server.env
ports:
- "8084:8083"
mongo:
image: mongo
restart: always
console:
image: openmhealth/shimmer-console
restart: always
ports:
- "8083:8083"
depends_on:
- resource-server
mdata-db:
image: postgres:latest
restart: always
expose:
- 5432
env_file:
- ./omhserver/postgres.env
mdata-app:
build:
context: ./omhserver
dockerfile: Dockerfile
restart: always
ports:
- "8888:8080"
env_file:
- ./omhserver/omh-server.env
depends_on:
- mdata-db
omh-on-fhir-client:
build:
#specifiy the project build context
context: ./omhclient
#specifiy the Dockerfile to use
dockerfile: Dockerfile
restart: always
#bind host port 8989 to container port 8080
ports:
- "8989:80"