-
Notifications
You must be signed in to change notification settings - Fork 410
Expand file tree
/
Copy pathcompose.yaml
More file actions
53 lines (49 loc) · 1.23 KB
/
compose.yaml
File metadata and controls
53 lines (49 loc) · 1.23 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
services:
# Auditor Agent coordinates the entire fact-checking workflow
auditor-agent-a2a:
build:
target: auditor-agent
ports:
- 8080:8080
environment:
- CRITIC_AGENT_URL=http://critic-agent-a2a:8001
- REVISER_AGENT_URL=http://reviser-agent-a2a:8001
- OPENAI_MODEL_NAME=o3
secrets:
- openai-api-key
depends_on:
- critic-agent-a2a
- reviser-agent-a2a
critic-agent-a2a:
build:
target: critic-agent
environment:
- MCPGATEWAY_ENDPOINT=http://mcp-gateway:8811/sse
- OPENAI_MODEL_NAME=o3
secrets:
- openai-api-key
depends_on:
- mcp-gateway
reviser-agent-a2a:
build:
target: reviser-agent
environment:
- MCPGATEWAY_ENDPOINT=http://mcp-gateway:8811/sse
- OPENAI_MODEL_NAME=o3
secrets:
- openai-api-key
depends_on:
- mcp-gateway
mcp-gateway:
# mcp-gateway secures your MCP servers
image: docker/mcp-gateway:latest
use_api_socket: true
command:
- --transport=sse
- --servers=duckduckgo
# add an MCP interceptor to log the responses
- --interceptor
- after:exec:echo RESPONSE=$(cat) >&2
secrets:
openai-api-key:
file: secret.openai-api-key