forked from bioshazard/workstacean
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
77 lines (68 loc) · 3.86 KB
/
Copy pathdocker-compose.prod.yml
File metadata and controls
77 lines (68 loc) · 3.86 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
services:
workstacean:
build:
context: .
target: release
restart: unless-stopped
# Readiness gate (#795) — checks local invariants (sqlite open). Uses bun
# (always in the image) so no curl/wget dependency. The HTTP API is on
# localhost:3000 inside the container.
healthcheck:
test: ["CMD", "bun", "-e", "fetch('http://localhost:3000/ready').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 40s
ports:
- "8081:8080" # Event viewer UI
- "8082:8082" # GitHub webhook receiver
# Port 3000 (HTTP API) is on the Docker network only
volumes:
- ./workspace:/workspace # bind-mount so agent YAMLs live in the repo
- workstacean-data:/data
environment:
- WORKSPACE_DIR=/workspace
- DATA_DIR=/data
# ── LLM ──────────────────────────────────────────────────────
# Set LLM_GATEWAY_URL to use the LiteLLM gateway (homelab).
# Leave unset to use native Anthropic API (ANTHROPIC_API_KEY).
- LLM_GATEWAY_URL=${LLM_GATEWAY_URL:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
# ── Discord ──────────────────────────────────────────────────
# Primary inbound bot — handles DMs and channel messages that
# aren't routed to a per-agent pool client. Operator picks which
# bot identity to use; default points at the @protoquinn[bot] token
# for continuity with existing users.
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN_QUINN:-}
# Per-agent pool — each token spins up one connected bot client
# for an agent declared in workspace/agents/*.yaml or workspace/agents.yaml.
- DISCORD_BOT_TOKEN_AVA=${DISCORD_BOT_TOKEN_AVA:-}
- DISCORD_BOT_TOKEN_QUINN=${DISCORD_BOT_TOKEN_QUINN:-}
- DISCORD_BOT_TOKEN_FRANK=${DISCORD_BOT_TOKEN_FRANK:-}
- DISCORD_GUILD_ID=${DISCORD_GUILD_ID:-1070606339363049492}
- DISCORD_DIGEST_CHANNEL=${DISCORD_DIGEST_CHANNEL:-1469080556720623699}
- DISCORD_WELCOME_CHANNEL=${DISCORD_WELCOME_CHANNEL:-}
- DISCORD_WEBHOOK_ALERTS=${DISCORD_WEBHOOK_ALERTS:-}
# ── DM routing ───────────────────────────────────────────────
# Route unmatched DMs to Ava's chat skill for natural conversation.
- ROUTER_DM_DEFAULT_AGENT=ava
- ROUTER_DM_DEFAULT_SKILL=chat
# ── Langfuse tracing ─────────────────────────────────────────
- LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY:-}
- LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY:-}
- LANGFUSE_BASE_URL=${LANGFUSE_BASE_URL:-}
# ── Graphiti user memory ─────────────────────────────────────
- GRAPHITI_URL=${GRAPHITI_URL:-}
# ── GitHub ───────────────────────────────────────────────────
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- GITHUB_WEBHOOK_SECRET=${GITHUB_WEBHOOK_SECRET:-}
- QUINN_APP_ID=${QUINN_APP_ID:-}
- QUINN_APP_PRIVATE_KEY=${QUINN_APP_PRIVATE_KEY:-}
- AVA_APP_ID=${AVA_APP_ID:-}
- AVA_APP_PRIVATE_KEY=${AVA_APP_PRIVATE_KEY:-}
# ── A2A external agents ──────────────────────────────────────
- AVA_API_KEY=${AVA_API_KEY:-}
- AVA_BASE_URL=${AVA_BASE_URL:-}
volumes:
workstacean-data: