-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (47 loc) · 1.1 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
version: '3.3'
services:
basesearch1:
build:
dockerfile: docker/basesearch.dockerfile
args:
- BASE_SEARCH_DATA_PATH=data/news_generated.1.csv
- PORT=8001
ports:
- "8001:8001"
basesearch2:
build:
dockerfile: docker/basesearch.dockerfile
args:
- BASE_SEARCH_DATA_PATH=data/news_generated.2.csv
- PORT=8002
ports:
- "8002:8002"
users:
build:
dockerfile: docker/users.dockerfile
args:
- USERS_DATA_PATH=data/users.csv
ports:
- "7999:7999"
intsearch:
build:
dockerfile: docker/intsearch.dockerfile
args:
- INT_BASE_SEARCH_ENDPOINTS=http://basesearch1:8001/,http://basesearch2:8002/
ports:
- "8100:8100"
depends_on:
- basesearch1
- basesearch2
metasearch:
image: hw3_metasearch:latest
build:
dockerfile: docker/metasearch.dockerfile
args:
- META_INT_SEARCH_ENDPOINTS=http://intsearch:8100/
- META_USERS_ENDPOINTS=http://users:7999/
ports:
- "8200:8200"
depends_on:
- intsearch
- users