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
57
58
59
60
61
62
63
64
65
# Corvus Docker Compose Example
#
# Quick start:
# 1. Copy this file and set your API key
# 2. Run: docker-compose up -d
# 3. Access gateway at http://localhost:3000
#
# For more info: https://github.com/dallay/corvus
services:
corvus:
image: ghcr.io/dallay/corvus:latest
# Or build locally:
# build: .
container_name: corvus
restart: unless-stopped
environment:
# Required: Your LLM provider API key
- API_KEY=${API_KEY:-}
# Or use the prefixed version:
# - CORVUS_API_KEY=${CORVUS_API_KEY:-}
# Optional: LLM provider (default: openrouter)
# Options: openrouter, openai, anthropic, ollama
- PROVIDER=${PROVIDER:-openrouter}
# Optional: Model override
# - CORVUS_MODEL=anthropic/claude-sonnet-4-20250514
# Optional: Memory backend override
# - CORVUS_MEMORY_BACKEND=surreal
# - CORVUS_SURREALDB_URL=http://surrealdb:8000
# - CORVUS_SURREALDB_NAMESPACE=corvus
# - CORVUS_SURREALDB_DATABASE=memory
# - CORVUS_SURREALDB_USERNAME=corvus
# - CORVUS_SURREALDB_PASSWORD=corvus-pass
# - CORVUS_SURREALDB_TOKEN=
volumes:
# Persist workspace and config
- corvus-data:/data
ports:
# Gateway API port
- "3000:3000"
# Health check
healthcheck:
test:
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# Optional local SurrealDB for memory backend testing/development
surrealdb:
image: surrealdb/surrealdb:v2.3
command: start --log info --user ${SURREALDB_USER:-corvus} --pass ${SURREALDB_PASS:-corvus-pass} memory
profiles:
ports:
- "8000:8000"
volumes:
corvus-data: