This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (89 loc) · 1.85 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
89
services:
frontend:
build: ./frontend
container_name: frontend
ports:
- 3000:3000
depends_on:
- auth-service
auth-service:
environment:
AUTH_DEFAULT_PASSWORD: myverysecretpassword
AUTH_POSTGRES_HOST: postgres
AUTH_USE_REAL_DB: 1
build: ./auth
container_name: auth-service
depends_on:
- postgres
ports:
- 8080:8080
nurse-api:
environment:
AUTH_POSTGRES_HOST: postgres
build:
context: ./nurse-api
container_name: nurse-api
depends_on:
- postgres
ports:
- 8081:8081
volumes:
- ${PWD}/deployments/docker-compose/nurse_api_config:/config/
phr-manager:
environment:
AUTH_HOST: auth-service
MONGO_HOST: mongo
build: ./phr-manager
container_name: phr-manager
depends_on:
- mongo
- auth-service
- postgres
ports:
- 8083:8083
statistics:
environment:
AUTH_HOST: auth-service
MONGO_HOST: mongo
build: ./statistics
container_name: statistics
ports:
- 8084:8084
depends_on:
- mongo
- auth-service
group-phr-controller:
environment:
AUTH_HOST: auth-service
AUTH_POSTGRES_HOST: postgres
MONGO_HOST: mongo
build:
context: ./group-phr-controller
container_name: group-phr-controller
depends_on:
- postgres
- mongo
- auth-service
ports:
- 8085:8085
disease-service:
build: ./disease-service
container_name: disease-service
ports:
- 8086:8086
postgres:
container_name: postgres
environment:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
image: postgres
mongo:
container_name: mongo
environment:
MONGO_INITDB_DATABASE: patient_data
ports:
- 27017:27017
image: mongo
volumes:
- ${PWD}/deployments/docker-compose/mongo:/docker-entrypoint-initdb.d/