forked from navigateconsulting/virtual-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test.yml
96 lines (86 loc) · 1.73 KB
/
docker-compose.test.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: "3.7"
services:
sut:
build: './tests'
depends_on:
- va_api_gateway
- redis
- mongodb
- custom_rasa
- trainer_worker
- ui_trainer
va_api_gateway:
init: true
build: './va_api_gateway'
environment:
- PORT_APP=3000
- WORKERS=1
- THREADS=50
- REDIS_URL=redis
- REDIS_PORT=6379
- MONGODB_HOST=mongodb
- MONGODB_PORT=27017
- RASA_SERVER=http://custom_rasa:5005/model
ports:
- "3000:3000"
volumes:
- rasa_projects:/rasa_projects
depends_on:
- redis
redis:
image: 'redis:4-alpine'
ports:
- '6379:6379'
trainer_worker:
build: './trainer_worker'
volumes:
- rasa_projects:/rasa_projects
depends_on:
- redis
- va_api_gateway
mongodb:
image: mongo:latest
container_name: "mongodb"
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGODB_USER="eva"
- MONGODB_PASS="evapass"
volumes:
- mongodb:/data/db
ports:
- 27017:27017
command: mongod --logpath=/dev/null # --quiet
ui_trainer:
container_name: ui_trainer
build: './ui-trainer'
ports:
- "8080:80"
depends_on:
- va_api_gateway
action_server:
build: './action_server'
container_name: action_server
ports:
- 5055:5055
custom_rasa:
build: './rasa_custom'
ports:
- 5005:5005
volumes:
- rasa_projects:/rasa_projects
command:
- run
- --endpoints
- config/endpoints.yml
- --credentials
- config/credentials.yml
- --debug
- --enable-api
- --cors
- "*"
depends_on:
- action_server
volumes:
mongodb:
rasa_projects: