-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (56 loc) · 1.59 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
# This docker-compose application stands up the following services:
# - a webserver on port 8080
# - a FetchCommunicationService on port 9090
# - a SearchService on port 9091
version: "2.0"
volumes:
index_volume:
services:
# Servers
# fetch:
# image: hltcoe/concrete-python
# command: fetch-server.py --loglevel debug /home/concrete/simple-search/files/data/WikiQA-train.tsv.gz
# ports:
# - "9090:9090"
# volumes:
# - .:/home/concrete/simple-search/files/
# # If you want to use the WikiQA corpus, comment out the 'fetch' configuration
# # section above, and uncomment the four lines below:
fetch:
image: hltcoe/fetch-wikiqa-corpus
ports:
- "9090:9090"
search:
depends_on:
- fetch
image: hltcoe/cadet-search-lucene
command: -p 9090 -d /index_dir/ --fh fetch --fp 9090 --run-search
ports:
- "9091:9090"
volumes:
- index_volume:/index_dir
kdft:
depends_on:
- fetch
- search
image: search-passthrough
command: -p 9090 --host 0.0.0.0 --search_port 9091 --search_host ec2-52-90-242-175.compute-1.amazonaws.com
ports:
- "9092:9090"
# kscore:
# depends_on:
# - fetch
# - search
# - kdft
# image: kscore
# command: --port 9090 --host kdft
# ports:
# - "8081:8081"
ui:
image: hltcoe/simple-search-demo
command: --host 0.0.0.0 --port 8080 --fetch-host ec2-52-90-242-175.compute-1.amazonaws.com --fetch-port 9093 --search-host kdft --search-port 9090 --lru-cache-size 50
depends_on:
- fetch
- kdft
ports:
- "8080:8080"