-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 1.02 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (43 loc) · 1.02 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
# Проверка: docker compose run --rm --no-deps rasa data validate --fail-on-warnings
# Обучение: docker compose run --rm --no-deps rasa train
# CLI: docker compose run --rm rasa
services:
rasa:
image: rasa/rasa:3.6.21
working_dir: /app
volumes:
- ./:/app
command:
- shell
- --endpoints
- endpoints.docker.yml
stdin_open: true
tty: true
depends_on:
action_server:
condition: service_healthy
environment:
RASA_TELEMETRY_ENABLED: "false"
action_server:
image: rasa/rasa-sdk:3.6.2
working_dir: /app
volumes:
- ./actions:/app/actions:ro
command:
- start
- --actions
- actions.actions
expose:
- "5055"
healthcheck:
test:
- CMD
- python
- -c
- import urllib.request; urllib.request.urlopen('http://localhost:5055/health', timeout=2)
interval: 5s
timeout: 3s
retries: 10
start_period: 5s
environment:
RASA_TELEMETRY_ENABLED: "false"