forked from enviroCar/envirocar-rasa-bot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (40 loc) · 1004 Bytes
/
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
version: '3.4'
services:
rasa-server:
image: rasa-bot:latest
working_dir: /app
build: "./"
restart: always
volumes:
- ./actions:/app/actions
- ./model:/app/model
- ./data:/app/data
- ./envirocar_channel:/app/envirocar_channel
- ./enums:/app/enums
- ./utils:/app/utils
command: bash -c "rm -rf models/* && rasa train && rasa run --credentials credentials.yml --endpoints local-endpoints.yml --enable-api -p 5006 --cors \"*\" --debug"
ports:
- '5007:5006'
networks:
- all
rasa-actions-server:
image: rasa-bot:latest
working_dir: /app
build: "./"
restart: always
volumes:
- ./actions:/app/actions
- ./model:/app/model
- ./envirocar_channel:/app/envirocar_channel
- ./enums:/app/enums
- ./utils:/app/utils
command: ["rasa", "run", "actions"]
ports:
- '5055:5055'
networks:
- all
networks:
all:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "true"