-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.63 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
services:
control-plane:
image: agentfield/control-plane:latest
environment:
AGENTFIELD_STORAGE_MODE: local
AGENTFIELD_HTTP_ADDR: 0.0.0.0:8080
ports:
- "${AGENTFIELD_HTTP_PORT:-8080}:8080"
volumes:
- agentfield-data:/data
# NOTE: agentfield/control-plane:latest is a distroless image — no sh,
# no wget, no curl. A CMD-based healthcheck cannot run inside the
# container. The agent SDK retries connection on startup, so
# service_started is sufficient.
reel-af:
build:
context: .
dockerfile: Dockerfile
environment:
AGENTFIELD_SERVER: http://control-plane:8080
AGENT_CALLBACK_URL: http://reel-af:8002
AGENT_NODE_ID: ${AGENT_NODE_ID:-reel-af}
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY:-}
REEL_AF_MODEL: ${REEL_AF_MODEL:-openrouter/deepseek/deepseek-v4-pro}
# Advanced: point reasoning at any OpenAI-compatible endpoint. Empty
# values are treated as unset and fall back to OpenRouter.
REEL_AF_API_BASE: ${REEL_AF_API_BASE:-}
REEL_AF_API_KEY: ${REEL_AF_API_KEY:-}
REEL_AF_TTS_MODEL: ${REEL_AF_TTS_MODEL:-google/gemini-3.1-flash-tts-preview}
REEL_AF_IMAGE_MODEL: ${REEL_AF_IMAGE_MODEL:-openrouter/google/gemini-2.5-flash-image}
REEL_AF_VIDEO_MODEL: ${REEL_AF_VIDEO_MODEL:-openrouter/google/veo-3.1-lite}
PORT: ${PORT:-8002}
ports:
- "${AGENT_NODE_PORT:-8002}:8002"
depends_on:
control-plane:
condition: service_started
volumes:
# Rendered reels and intermediates survive container rebuilds.
- ./output:/app/output
restart: on-failure
volumes:
agentfield-data: