-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (65 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
72 lines (65 loc) · 1.59 KB
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
version: "3.0" # orig 3.0
services:
db:
image: postgres
restart: always
environment:
POSTGRES_DB: perfectfit
POSTGRES_USER: root
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
manage_db:
build:
context: https://github.com/PerfectFit-project/virtual-coach-db.git#main
tty: true
restart: on-failure
command: ["/app/utils/init-db-tests.sh"]
env_file:
- .env
rasa_server:
build:
context: https://github.com/PerfectFit-project/virtual-coach-rasa.git#main:Rasa_Bot
ports:
- 5005:5005
expose: ["5005"]
env_file:
- .env
rasa_actions:
build:
context: https://github.com/PerfectFit-project/virtual-coach-rasa.git#main:Rasa_Bot/actions
volumes:
- type: bind
source: ./id_rsa_perfectfitsensor
target: /app/sensorprivatekey
read_only: true
expose: ["5055"]
env_file:
- .env
redis:
image: "redis:alpine"
ports:
- 6379:6379
scheduler:
build:
context: https://github.com/PerfectFit-project/virtual-coach-rasa.git#main:scheduler
depends_on:
- redis
- rasa_server
env_file:
- .env
# Niceday components depend on 'goalie-js', which is a private repository.
# Thus, we cannot directly build it from github, so we build it from the cloned repository.
niceday_broker:
build:
context: ./build/niceday-components/niceday-broker
env_file:
- .env
niceday_api:
build:
context: ./build/niceday-components/niceday-api
env_file:
- .env
ports:
- 8080:8080
expose: ["8080"]