-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
65 lines (59 loc) · 1.25 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
######
##
# 1) start: docker-compose docker-compose up -d <services>
# 2) attach: docker attach ...
# 3) detach: detach with <CTRL-p> <CTRL-q>
# 4) stop: docker-compose down
##
######
version: '2.3'
networks:
anet:
services:
# BEGIN: KEYWORDS
keywords:
image: bigabig/mbot-keyterms:latest
container_name: keywords
ports:
- 8888:8080
healthcheck:
test: curl 0.0.0.0:8080/healthcheck
interval: 60s
timeout: 10s
retries: 5
networks:
- anet
# END: KEYWORDS
# BEGIN: SPACY
spacy:
image: bigabig/mbot-spacy:latest
container_name: spacy
ports:
- 9999:9999
healthcheck:
test: curl 0.0.0.0:9999/health
interval: 120s
timeout: 10s
retries: 5
networks:
- anet
# entrypoint: ["python", "app.py", "-l", "de"]
# set language with -l, supported languages are 'de', 'en' or 'both'
command: ["-l", "de"]
# END: SPACY
# BEGIN: CLSUMM
clsumm:
image: bigabig/mbot-clsumm:latest
container_name: clsumm
ports:
- 9002:5000
healthcheck:
test: curl 0.0.0.0:5000
interval: 120s
timeout: 10s
retries: 5
volumes:
- ./backend/clsumm/models:/app/models
networks:
- anet
# END: CLSUMM