-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
109 lines (93 loc) · 2.26 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
109 lines (93 loc) · 2.26 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# version: '3.7'
services:
postgres_account:
image: postgres:16
container_name: simbirhealthaccount_postgres
env_file:
- ./account/.env
ports:
- 5433:5432
volumes:
- postgres_account_data:/var/lib/postgresql/data # Volume for account database
account_services:
build:
context: ./account
container_name: simbirhealthaccount
env_file:
- ./account/.env
depends_on:
- postgres_account
ports:
- 8080:8080
postgres_document:
image: postgres:16
container_name: simbirhealthdocument_postgres
env_file:
- ./document/.env
ports:
- 5434:5432
volumes:
- postgres_document_data:/var/lib/postgresql/data # Volume for document database
document_services:
build:
context: ./document
container_name: simbirhealthdocument
env_file:
- ./document/.env
depends_on:
- postgres_document
ports:
- 8083:8083
postgres_hospital:
image: postgres:16
container_name: simbirhealthhospital_postgres
env_file:
- ./hospital/.env
ports:
- 5435:5432
volumes:
- postgres_hospital_data:/var/lib/postgresql/data # Volume for hospital database
hospital_services:
build:
context: ./hospital
container_name: simbirhealthhospital
env_file:
- ./hospital/.env
depends_on:
- postgres_hospital
ports:
- 8081:8081
postgres_timetable:
image: postgres:16
container_name: simbirhealthtimetable_postgres
env_file:
- ./time_table/.env
ports:
- 5436:5432
volumes:
- postgres_timetable_data:/var/lib/postgresql/data # Volume for timetable database
timetable_services:
build:
context: ./time_table
container_name: simbirhealthtimetable
env_file:
- ./time_table/.env
depends_on:
- postgres_timetable
ports:
- 8082:8082
elasticsearch:
image: elasticsearch:8.5.0
container_name: simbirhealth_elasticsearch
env_file:
- ./document/.env
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms1g -Xmx1g
ports:
- 9201:9200
volumes:
postgres_account_data:
postgres_document_data:
postgres_hospital_data:
postgres_timetable_data: