-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
63 lines (60 loc) · 1.37 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
services:
rasa:
image: rasa/rasa:3.6.2-full
container_name: rasa_server
platform: linux/amd64
# user: root # Ensure proper permissions: sudo chown -R $USER:$USER models
ports:
- "5005:5005"
volumes:
- ./data:/app/data
- ./models/chatbot:/app/models
- ./config.yml:/app/config.yml
- ./domain.yml:/app/domain.yml
- ./endpoints.yml:/app/endpoints.yml
- ./credentials.yml:/app/credentials.yml
command:
- run
- --enable-api
- --cors
- "*"
- --debug
depends_on:
- rasa_action
restart: unless-stopped
rasa_action:
build:
context: ./actions
dockerfile: Dockerfile
container_name: rasa_action_server
platform: linux/amd64
ports:
- "5055:5055"
volumes:
- ./data:/app/data
- ./models:/app/models
restart: unless-stopped
streamlit:
build:
context: .
dockerfile: Dockerfile
container_name: streamlit_app
platform: linux/amd64
ports:
- "8501:8501"
volumes:
- ./data:/app/data
- ./docs:/app/docs
- ./models:/app/models
environment:
- RASA_SERVER=http://rasa:5005
depends_on:
- rasa
restart: unless-stopped
duckling:
image: rasa/duckling
container_name: duckling
platform: linux/amd64
ports:
- "8000:8000"
restart: unless-stopped