forked from paschmann/rasa-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (64 loc) · 1.55 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
65
66
67
68
69
70
71
version: '3'
services:
action_server:
image: rasa/rasa_core_sdk:latest
networks: ['rasa-network']
ports:
- "5055:5055"
volumes:
- "./rasa-app-data/actions:/app/actions"
rasa_nlu:
image: rasa/rasa_nlu:0.13.7-full
networks: ['rasa-network']
ports:
- "5000:5000"
volumes:
- "./rasa-app-data/models/:/app/projects"
- "./rasa-app-data/logs:/app/logs"
rasa_core:
image: rasa/rasa_core:0.12.1
networks: ['rasa-network']
ports:
- "5005:5005"
depends_on:
- "rasa_nlu"
- "action_server"
volumes:
- "./rasa-app-data/models/current/dialogue:/app/model"
- "./rasa-app-data/config:/app/config"
- "./rasa-app-data/project:/app/project"
command:
- start
- -d
- ./model
- -c
- rest
- -u
- current/nlu
- --endpoints
- config/endpoints.yml
postgres:
image: postgres:11
networks: ['rasa-network']
ports:
- "5432:5432"
volumes:
- "rasauidata:/var/lib/postgresql/data"
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "rasaui"
POSTGRES_DB: "rasaui"
rasa_ui:
image: paschmann/rasa-ui:latest
networks: ['rasa-network']
ports:
- "5001:5001"
depends_on:
- "rasa_nlu"
- "postgres"
environment:
rasanluendpoint: "http://rasa_nlu:5000"
rasacoreendpoint: "http://rasa_core:5005"
postgresserver: "postgres://postgres:rasaui@postgres:5432/rasaui"
networks: {rasa-network: {}}
volumes: {rasauidata:{}}