-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
88 lines (80 loc) · 2.21 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3.0'
services:
resource-server:
image: openmhealth/shimmer-resource-server
#restart: always
# environment:
# SPRING_PROFILES_ACTIVE: development
depends_on:
- mongo
env_file:
- resource-server.env
links:
- mongo:omh-mongo
ports:
- "8077:8083"
mongo:
image: mongo
#restart: always
# PostgreSQL is used to store OAuth 2.0 client credentials and access tokens.
# TODO: prepopulation script resources/rdbms/postgresql
postgres:
build: ./postgresql/.
image: beapen/drishti-postgres:latest
#restart: always
mysql:
image: mysql:5.6
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci"
environment:
MYSQL_DATABASE: openmrs
MYSQL_ROOT_PASSWORD: Admin123
MYSQL_USER: openmrs
MYSQL_PASSWORD: Admin123
# build: ./mysql/.
# image: beapen/drishti-mysql
drishti-haproxy:
build: ./haproxy/.
image: beapen/drishti-haproxy:latest
ports:
- "8080:8080"
#- "8081:5001"
#networks:
#- overlay
depends_on:
- resource-server
drishti-cog:
build: ./drishti-cog/.
image: beapen/drishti-cog:latest
depends_on:
- resource-server
drishti-emr:
build: ./drishti-emr/web/.
image: beapen/drishti-emr:latest
depends_on:
- mysql
environment:
DB_DATABASE: openmrs
DB_HOST: mysql
DB_USERNAME: openmrs
DB_PASSWORD: Admin123
DB_CREATE_TABLES: 'false' # change to 'true' if using an empty database
DB_AUTO_UPDATE: 'false' # change to 'true' if using an empty database
MODULE_WEB_ADMIN: 'true' # allow web admin on OpenMRS
# volumes:
# - ./openmrs:/usr/local/tomcat/.OpenMRS
# - /usr/local/tomcat/.OpenMRS/modules/ # used to mount persistent docker volume for modules
# - /usr/local/tomcat/.OpenMRS/owa/ # used to mount persistent docker volume for owa
drishti-act:
build: ./drishti-act/.
image: beapen/drishti-act:latest
depends_on:
- drishti-cog
env_file:
- resource-server.env
drishti-plan:
build: ./drishti-plan/.
image: beapen/drishti-plan:latest
depends_on:
- drishti-cog
env_file:
- resource-server.env