This repository has been archived by the owner on Aug 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.test.yml
100 lines (90 loc) · 1.9 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
97
98
99
100
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
- REDIS_PASS=Y7T6r5re3t8j9yr
- MONGODB_HOST=mongodb
- MONGODB_PORT=27017
- MONGODB_USERNAME=eva
- MONGODB_PASS=evapass
- RASA_SERVER=http://custom_rasa:5005/model
ports:
- "3000:3000"
volumes:
- rasa_projects:/rasa_projects
depends_on:
- redis
redis:
image: redis:latest
command: redis-server --requirepass Y7T6r5re3t8j9yr
ports:
- '6379:6379'
trainer_worker:
build: './trainer_worker'
environment:
- REDIS_PASS=Y7T6r5re3t8j9yr
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
- MONGO_INITDB_ROOT_USERNAME=eva
- MONGO_INITDB_ROOT_PASSWORD=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
- --debug
- --enable-api
- --cors
- "*"
depends_on:
- action_server
volumes:
mongodb:
rasa_projects: