-
Notifications
You must be signed in to change notification settings - Fork 410
Expand file tree
/
Copy pathcompose.yaml
More file actions
32 lines (31 loc) · 781 Bytes
/
compose.yaml
File metadata and controls
32 lines (31 loc) · 781 Bytes
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
services:
app:
build:
target: app
ports:
- 8080:8080
environment:
- SPRING_PROFILES_ACTIVE=prod
- SERVER_PORT=8080
- MCP_GATEWAY_URL=http://mcp-gateway:8811
- QUESTION="Does Spring AI supports the Model Context Protocol? Please provide some references."
depends_on:
- mcp-gateway
models:
gemma:
endpoint_var: MODEL_RUNNER_URL
model_var: MODEL_RUNNER_MODEL
mcp-gateway:
# mcp-gateway secures your MCP servers
image: docker/mcp-gateway:latest
use_api_socket: true
ports:
- 8811:8811
command:
- --transport=sse
# add any MCP servers you want to use
- --servers=duckduckgo
- --tools=search,fetch_content
models:
gemma:
model: ai/gemma3-qat