forked from hpi-schul-cloud/cui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (77 loc) · 2.03 KB
/
docker-compose.yml
File metadata and controls
84 lines (77 loc) · 2.03 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3"
services:
rasa-core:
build:
context: ./rasa-core
dockerfile: Dockerfile
command: ["python", "run_server.py"]
# command: python -m rasa_core.server --debug -d model/opensap_faq
environment:
- RASA_CORE_MODEL_PATH=./model/opensap_faq
- RASA_CORE_QUESTIONS_PATH=./data/opensap_faq/intent_questions.json
- RASA_NLU_PROJECT_NAME=opensap_faq
- RASA_NLU_MODEL_NAME=
- RASA_NLU_SERVER_ADDRESS=http://rasa-nlu:5000
- RASA_NLU_SERVER_TOKEN=
- PYTHONPATH=/app/actions
ports:
- "5005:5005"
volumes:
- ./rasa-core/data:/app/data
- ./rasa-core/actions:/app/actions
- ./rasa-core/model:/app/model
- ./rasa-core/logs:/app/logs
- ./rasa-nlu/data:/app/nlu
depends_on:
- rasa-nlu
rasa-nlu:
build:
context: ./rasa-nlu
dockerfile: Dockerfile
command: ["python", "-m", "rasa_nlu.server", "--path", "./projects", "-c", "./config.yml"]
ports:
- "5000:5000"
volumes:
- ./rasa-nlu/config.yml:/app/config.yml
- ./rasa-nlu/data:/app/data
- ./rasa-nlu/projects:/app/projects
depends_on:
- duckling
rasa-ui:
build:
context: ./rasa-ui
dockerfile: Dockerfile
environment:
- rasanluendpoint=http://rasa-nlu:5000
- rasacoreendpoint=http://rasa-core:5005
ports:
- "5001:5001"
depends_on:
- rasa-nlu
rasa-nlu-training:
build:
context: ./rasa-nlu
dockerfile: Dockerfile
command: ["cron", "-f"]
volumes:
- ./rasa-nlu/config.yml:/app/config.yml
- ./rasa-nlu/data:/app/data
- ./rasa-nlu/projects:/app/projects
- ./rasa-nlu/train-nlu.sh:/etc/cron.daily/train-nlu
duckling:
image: rasa/duckling:latest
ports:
- "8000:8000"
chat-ui:
build:
context: ./chat-ui
dockerfile: Dockerfile
environment:
- NODE_ENV=development
ports:
- '3000:3000'
volumes:
- './chat-ui:/usr/src/app'
- '/usr/src/app/node_modules'
depends_on:
- rasa-core