-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
69 lines (64 loc) · 1.33 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
version: '3.9'
services:
main:
image: nguyenquang7501/cpp_learning_chatbot:latest
restart: on-failure
tty: true
command:
- run
- --enable-api
- -t thisismysecret
- -m models/20210421-152837.tar.gz
- --cors
- "*"
- --log-file
- out.log
- -p 5005
ports:
- "5005:5005"
depends_on:
- action
container_name: mlcv_quanna_rasa_main
networks:
- chatbot
action:
image: nguyenquang7501/cpp_learning_chatbot:latest
restart: on-failure
tty: true
command:
- run
- actions
ports:
- "5055:5055"
container_name: mlcv_quanna_rasa_action
networks:
- chatbot
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: rasa_chatbot
MONGO_INITDB_ROOT_PASSWORD: rasa_chatbot
networks:
- chatbot
volumes:
- mongodata/:/data/db
restart: unless-stopped
container_name: mlcv_quanna_mongodb_tracker_store
ports:
- 27017:27017
# event_broker:
# image: nouchka/sqlite3:latest
# stdin_open: true
# tty: true
# volumes:
# - eventbroker:/root/db/
# networks:
# - chatbot
# container_name: mlcv_quanna_sqlite_event_broker
networks:
chatbot:
external: true
driver: bridge
volumes:
mongodata:
eventbroker: