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
/
Copy pathdocker-compose.yml
executable file
·93 lines (84 loc) · 2.23 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3.7"
services:
va_api_gateway:
init: true
#image: docker.pkg.github.com/navigateconsulting/virtual-assistant/va_api_gateway:latest
image: navigateconsulting/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://va_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'
va_trainer_worker:
#image: docker.pkg.github.com/navigateconsulting/virtual-assistant/trainer_worker:latest
image: navigateconsulting/va_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
va_ui_trainer:
#image: docker.pkg.github.com/navigateconsulting/virtual-assistant/ui_trainer:latest
image: navigateconsulting/va_ui_trainer
ports:
- "8080:80"
depends_on:
- va_api_gateway
va_action_server:
#image: docker.pkg.github.com/navigateconsulting/virtual-assistant/action_server:latest
image: navigateconsulting/va_action_server
ports:
- 5055:5055
va_custom_rasa:
#image: docker.pkg.github.com/navigateconsulting/virtual-assistant/custom_rasa:latest
image: navigateconsulting/va_custom_rasa
ports:
- 5005:5005
volumes:
- rasa_projects:/rasa_projects
command:
- run
- --endpoints
- config/endpoints.yml
- --debug
- --enable-api
- --cors
- "*"
depends_on:
- va_action_server
volumes:
mongodb:
rasa_projects: