-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
166 lines (166 loc) · 3.39 KB
/
docker-compose.yaml
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
services:
web:
image: perseushub/web:latest
build: ./nginx
container_name:
web
ports:
- "80:80"
restart: always
shareddb:
image: perseushub/shareddb:latest
build: ./shared-db
container_name: shareddb
volumes:
- shareddb:/data/postgres
ports:
- "5432:5432"
files-manager:
image: perseushub/files-manager:latest
build: ./files-manager
container_name: files-manager
ports:
- "10500:10500"
environment:
- SPRING_PROFILES_ACTIVE=docker
depends_on:
- shareddb
user:
image: perseushub/user:latest
build: ./user
container_name: user
environment:
USER_ENV: Docker
env_file:
- user/user-envs.txt
ports:
- "5001:5001"
depends_on:
- shareddb
backend:
image: perseushub/backend:latest
build: ./perseus-api
container_name: backend
environment:
PERSEUS_ENV: Docker
ports:
- "5004:5004"
depends_on:
- shareddb
- files-manager
frontend:
image: perseushub/frontend:latest
build:
context: ./UI
args:
env: prod
container_name:
frontend
ports:
- "4200:4200"
white-rabbit:
image: perseushub/white-rabbit:latest
build: ../WhiteRabbit
container_name:
white-rabbit
ports:
- "8000:8000"
environment:
- SPRING_PROFILES_ACTIVE=docker
depends_on:
- shareddb
- files-manager
vocabularydb:
image: perseushub/vocabularydb:latest
build: ./vocabulary-db
container_name: vocabularydb
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "vocabulary", "-U", "admin" ]
timeout: 60s
interval: 30s
retries: 10
volumes:
- vocabularydb:/data/postgres
ports:
- "5431:5432"
cdm-builder:
image: perseushub/cdm-builder:latest
build: ../ETL-CDMBuilder
container_name:
cdm-builder
ports:
- "9000:9000"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
depends_on:
- shareddb
- files-manager
- vocabularydb
solr:
image: perseushub/solr:latest
build: ./solr
container_name: solr
ports:
- "8983:8983"
volumes:
- solr:/var/solr
depends_on:
- vocabularydb
athena:
image: perseushub/athena:latest
build: ./athena-api
container_name: athena
environment:
ATHENA_ENV: Docker
ports:
- "5002:5002"
depends_on:
- solr
usagi:
image: perseushub/usagi:latest
build: ./usagi-api
command: python /app/main.py
container_name: usagi
environment:
USAGI_ENV: Docker
ports:
- "5003:5003"
depends_on:
- shareddb
- solr
r-serve:
image: perseushub/r-serve:latest
build:
context: ../DataQualityDashboard/R
args:
prop: docker
container_name:
r-serve
ports:
- "6311:6311"
depends_on:
- shareddb
data-quality-dashboard:
image: perseushub/data-quality-dashboard:latest
build:
context: ../DataQualityDashboard
container_name:
data-quality-dashboard
ports:
- "8001:8001"
environment:
- SPRING_PROFILES_ACTIVE=docker
depends_on:
- shareddb
- files-manager
- r-serve
swagger:
image: perseushub/swagger:latest
build: ./swagger-ui
container_name: swagger
ports:
- 8080:8080
volumes:
shareddb:
vocabularydb:
solr: