forked from UUDigitalHumanitieslab/gretel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (51 loc) · 1.2 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
version: "3"
volumes:
gretel:
services:
gretel:
build: .
image: gretel
ports:
- "8000:8000"
depends_on:
- alpino
- basex
- redis
volumes:
- ./backend:/gretel
environment:
- BASEX_HOST=basex
- ALPINO_HOST=alpino
- REDIS_HOST=redis
command: bash -c "sleep 5 && python manage.py runserver 0.0.0.0:8000"
celery:
image: gretel
depends_on:
- alpino
- basex
- redis
- gretel
volumes:
- ./backend:/gretel
environment:
- BASEX_HOST=basex
- ALPINO_HOST=alpino
- REDIS_HOST=redis
command: bash -c "sleep 5 && python -m celery -A gretel.celery worker --loglevel=info -B"
alpino:
image: registry.webhosting.rug.nl/compling/alpino:latest
environment:
- PROLOGMAXSIZE=1500M
ports:
- "7001:7001"
command: Alpino -notk -veryfast user_max=600000 server_kind=parse server_port=7001 assume_input_is_tokenized=on debug=0 end_hook=xml -init_dict_p batch_command=alpino_server
basex:
image: basex/basexhttp:latest
ports:
- "1984:1984"
command: basexserver
redis:
image: redis:latest
ports:
- "6379:6379"
command: redis-server