This repository was archived by the owner on Mar 2, 2026. It is now read-only.
forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhanzo.toml
More file actions
60 lines (51 loc) · 1.41 KB
/
hanzo.toml
File metadata and controls
60 lines (51 loc) · 1.41 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
# Hanzo Bot — deployment manifest for Hanzo PaaS
# Deploy: hanzo deploy create bot-gateway --config hanzo.toml
# Docs: https://docs.hanzo.ai/bot/install/hanzo-paas
[app]
name = "bot-gateway"
type = "deployment"
dockerfile = "Dockerfile"
[env]
NODE_ENV = "production"
BOT_PREFER_PNPM = "1"
BOT_STATE_DIR = "/data/.bot"
BOT_WORKSPACE_DIR = "/data/workspace"
NODE_OPTIONS = "--max-old-space-size=1536"
# Secrets are injected from Hanzo KMS at deploy time.
# Set them with:
# hanzo kms set <project> production HANZO_API_KEY hz-...
# hanzo kms set <project> production BOT_GATEWAY_TOKEN $(openssl rand -hex 32)
#
# Required:
# HANZO_API_KEY — Hanzo Cloud unified billing (Zen + 300+ models)
# BOT_GATEWAY_TOKEN — Gateway authentication token
#
# Optional provider overrides (bypass Hanzo unified billing):
# ANTHROPIC_API_KEY — Direct Anthropic access
# OPENAI_API_KEY — Direct OpenAI access
# GEMINI_API_KEY — Direct Google Gemini access
[networking]
port = 3000
ingress = true
force_https = true
[resources]
cpu = "2000m"
memory = "2048Mi"
[storage]
enabled = true
mount = "/data"
size = "1Gi"
[deploy]
replicas = 1
strategy = "RollingUpdate"
command = "node hanzo-bot.mjs gateway --allow-unconfigured --port 3000 --bind lan"
[probes.readiness]
path = "/health"
port = 3000
period = 30
timeout = 10
[probes.liveness]
path = "/health"
port = 3000
period = 30
timeout = 10