forked from PerfectFit-project/rasa_example_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (59 loc) · 1.31 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
version: '3.0'
services:
rasa:
container_name: "rasa_server"
build:
context: backend
restart: always
ports:
- "5005:5005"
action-server:
container_name: "action_server"
build:
context: actions
restart: always
volumes:
- ./actions:/app/actions
ports:
- "5055:5055"
chatbotui:
container_name: "chatbot_ui"
build:
context: frontend
restart: always
ports:
- "3000:3000"
mysql:
container_name: "db"
build:
context: db
restart: always
environment:
MYSQL_DATABASE: "db"
MYSQL_ROOT_PASSWORD: 'password'
ports:
- "3306:3306"
volumes:
- ./data_mysql:/var/lib/mysql
postgres:
container_name: "postgres"
image: postgres:latest
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
volumes:
- ./data:/var/lib/postgresql/data
ports:
- "5432:5432"
nginx:
container_name: "nginx"
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
depends_on:
- rasa
- action-server
- chatbotui