Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (54 loc) · 1.5 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (54 loc) · 1.5 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
services:
backend:
build:
context: .
dockerfile: Dockerfile.backend
container_name: metaflow-backend
ports:
- "8000:8000"
environment:
# Pass through LLM provider API keys (at least one required)
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- AIMLAPI_KEY=${AIMLAPI_KEY:-}
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
# Optional model configuration
- ANTHROPIC_MODEL=${ANTHROPIC_MODEL:-claude-haiku-4-5}
- AIMLAPI_MODEL=${AIMLAPI_MODEL:-x-ai/grok-4-fast-reasoning}
- GEMINI_MODEL=${GEMINI_MODEL:-gemini-2.5-pro}
volumes:
# Mount specs for easy editing during development
- ./specs:/app/specs:ro
# Optional: Mount generated agents for inspection
- ./generated_agents:/app/generated_agents
networks:
- metaflow-network
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 30s
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: metaflow-frontend
ports:
- "3001:80"
depends_on:
backend:
condition: service_healthy
networks:
- metaflow-network
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
networks:
metaflow-network:
driver: bridge
name: metaflow-network