-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (55 loc) · 1.49 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
version: '3.5'
services:
frontend:
build: https://github.com/SemanticComputing/relevance-feedback-frontend.git#master
ports:
- 3000:5000
web:
build:
dockerfile: Dockerfile.web
context: .
environment:
- API_KEY
- REDIS_HOST=redis
- PRERENDER_HOST=prerender
- PRERENDER_PORT=3000
- ARPA_URL=http://arpa:9000/koko-related
ports:
- 5000:5000
worker:
build:
dockerfile: Dockerfile.worker
context: .
environment:
- API_KEY
- REDIS_HOST=redis
- PRERENDER_HOST=prerender
- PRERENDER_PORT=3000
- ARPA_URL=http://arpa:9000/koko-related
- BASEFORM_URL=http://las:9000/las/baseform
volumes:
- topics:/app/topics
user: nobody
redis:
image: redis:alpine
prerender:
build: https://github.com/SemanticComputing/prerender-docker.git#relevance-feedback
shm_size: 5gb
arpa:
image: jiemakel/arpa:1.0
environment:
- ANALYZE_ADDRESS=http://las:9000/las/analyze
volumes:
- ./arpa_conf/:/opt/docker/services
las:
image: jiemakel/las-ws:1.1
ports:
- 9000:9000
elastic:
build: ./elastic
volumes:
- hades_esdata:/usr/share/elasticsearch/data
volumes:
topics:
hades_esdata:
external: true