forked from nrf-mamas-hub/mamashub-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
executable file
·89 lines (81 loc) · 1.68 KB
/
docker-compose-dev.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
version: '3.7'
services:
postgres:
image: postgres:14-alpine
restart: always
env_file:
- ./api/.env
ports:
- '5432:5432'
volumes:
- 'db:/var/lib/postgresql/data'
hapi-fhir-postgres:
image: postgres:14-alpine
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_DB: hapi
POSTGRES_PASSWORD: hapi123
volumes:
- 'hapi-fhir-postgres:/var/lib/postgresql/data'
mhis-api:
build: ./api
container_name: mhis_api
restart: always
depends_on:
- postgres
ports:
- '8081:8080'
- '5555:5555'
env_file:
- ./api/.env
links:
- postgres
# mhis-ui:
# build: ./ui
# restart: always
# depends_on:
# - mhis-api
# ports:
# - '8082:80'
# links:
# - mhis-api
dhis2-db:
image: mdillon/postgis:10-alpine
command: postgres -c max_locks_per_transaction=100
environment:
POSTGRES_USER: dhis
POSTGRES_DB: dhis2
POSTGRES_PASSWORD: dhis
dhis2-web:
image: dhis2/core:2.33.0
volumes:
- ./dhis.conf:/DHIS2_home/dhis.conf
ports:
- '8085:8080'
depends_on:
- dhis2-db
hapi-fhir-jpa:
image: hapiproject/hapi:latest
container_name: hapi-fhir-jpa
restart: on-failure
ports:
- '8080:8080'
volumes:
- './hapi:/hapi'
environment:
SPRING_CONFIG_LOCATION: /hapi/application.yaml
cloud-messaging:
build:
context: cloud-messaging
dockerfile: Dockerfile
container_name: cloud-messaging
restart: always
ports:
- '8000:8000'
# env_file: ./cloud-messaging/.env
volumes:
db:
hapi-fhir-postgres:
hapi:
external: true