-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
114 lines (107 loc) · 2.69 KB
/
docker-compose.yml
File metadata and controls
114 lines (107 loc) · 2.69 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
services:
# Run Rasa Pro with the inspector.
agentic_assistant:
depends_on:
tracker_store:
condition: service_healthy
tavily_search_mcp_server:
condition: service_started
appointment_booking_mcp_server:
condition: service_started
car_shopping_a2a_agent_server:
condition: service_started
image: europe-west3-docker.pkg.dev/rasa-releases/rasa-pro/rasa-pro:3.14.1
volumes:
- .:/app
command:
- 'inspect'
- '--endpoints'
- 'endpoints-docker-compose.yml'
- '--sub-agents'
- 'sub_agents_docker_compose'
- '--debug'
ports:
- '5005:5005'
env_file:
- .env
environment:
- LLM_API_HEALTH_CHECK=true
user: root
# Rasa server, to enable API access to tracker etc for troubleshooting
rasa_server:
depends_on:
agentic_assistant:
condition: service_started
tracker_store:
condition: service_healthy
image: europe-west3-docker.pkg.dev/rasa-releases/rasa-pro/rasa-pro:3.14.1
volumes:
- .:/app
command:
- 'run'
- '--enable-api'
- '--endpoints'
- 'endpoints-docker-compose.yml'
- '--sub-agents'
- 'sub_agents_docker_compose'
- '--debug'
ports:
- '5006:5005'
env_file:
- .env
environment:
- LLM_API_HEALTH_CHECK=true
user: root
tracker_store:
image: postgres:13-alpine
container_name: tracker_store
environment:
POSTGRES_DB: rasa
POSTGRES_USER: rasa
POSTGRES_PASSWORD: rasa
ports:
- '5432:5432'
healthcheck:
test: ["CMD-SHELL", "pg_isready -U rasa -d rasa"]
interval: 5s
timeout: 5s
retries: 12
volumes:
- db:/var/lib/postgresql/data
tavily_search_mcp_server:
container_name: tavily_search_mcp_server
build:
context: ./servers/tavily_search_server
dockerfile: Dockerfile
command:
- 'tavily_search_server.py'
ports:
- '8001:8001'
environment:
- TAVILY_API_KEY=${TAVILY_API_KEY}
- MOCK_TAVILY_SEARCH=${MOCK_TAVILY_SEARCH}
appointment_booking_mcp_server:
container_name: appointment_booking_mcp_server
build:
context: ./servers/appointment_booking_server
dockerfile: Dockerfile
command:
- 'appointment_server_http.py'
ports:
- '8002:8002'
car_shopping_a2a_agent_server:
container_name: car_shopping_A2A_agent_server
build:
context: ./servers/car_shopping_server
dockerfile: Dockerfile
command:
- 'car_shopping_server.py'
- '--host'
- '0.0.0.0'
ports:
- '10002:10002'
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
volumes:
db:
driver: local