-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 1.19 KB
/
docker-compose.yml
File metadata and controls
48 lines (46 loc) · 1.19 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
services:
agentfield:
image: agentfield/control-plane:latest
ports:
- "8080:8080"
environment:
- AF_MODE=dev
- AGENTFIELD_HTTP_ADDR=0.0.0.0:8080
- AGENTFIELD_STORAGE_MODE=local
volumes:
- agentfield-data:/data
- workspaces:/workspaces
healthcheck:
test: ["NONE"]
disable: true
restart: unless-stopped
sec-af:
build:
context: .
dockerfile: Dockerfile
ports:
- "8003:8003"
environment:
- AGENTFIELD_SERVER=http://agentfield:8080
- AGENTFIELD_API_KEY=${AGENTFIELD_API_KEY:-}
- PORT=8003
- AGENT_CALLBACK_URL=http://sec-af:8003
- HARNESS_PROVIDER=opencode
- HARNESS_MODEL=${HARNESS_MODEL:-openrouter/moonshotai/kimi-k2.5}
- AI_MODEL=${AI_MODEL:-openrouter/moonshotai/kimi-k2.5}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
volumes:
- workspaces:/workspaces
depends_on:
agentfield:
condition: service_started
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8003/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
restart: unless-stopped
volumes:
agentfield-data:
workspaces: