-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathconfig.example.toml
More file actions
57 lines (49 loc) · 1.28 KB
/
config.example.toml
File metadata and controls
57 lines (49 loc) · 1.28 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
[server]
port = 18080
[api]
admin_token = "your-admin-token"
[db]
host = "localhost"
port = 5432
user = "postgres"
password = "your-password"
database = "clawhost"
sslmode = "disable"
timezone = "Asia/Shanghai"
[kubernetes]
kubeconfig = "" # Empty for in-cluster config
namespace = "clawhost"
[storage]
pvc_name = "clawhost-shared-data"
base_path = "/clawhost-data"
[bot]
# Grace period (in hours) after expiration before bot is cleaned up. Default: 72
cleanup_grace_hours = 72
# Max number of bots to clean up per run. Default: 50
cleanup_batch_size = 50
[domain]
api_domain = "clawhost.ai"
bot_domain_suffix = "clawhost.ai"
bot_domain_template = "https://{bot_id}.clawhost.ai"
[openclaw]
image = "1panel/openclaw:latest"
gateway_port = 18789
node_max_old_space_size = 6144
cpu_limit = "2000m"
memory_limit = "8Gi"
cpu_request = "500m"
memory_request = "1Gi"
# ChatClaw WebUI (optional, uncomment to enable)
# When enabled, ChatClaw is deployed as a sidecar alongside OpenClaw in each bot pod.
# When disabled (default), OpenClaw's built-in WebUI is used.
# [chatclaw]
# image = "chatclaw:latest"
# port = 3000
# cpu_limit = "1000m"
# memory_limit = "1Gi"
# cpu_request = "100m"
# memory_request = "256Mi"
# db_backend = "drizzle"
# data_dir = "/data"
# auth_enabled = "false"
# multi_company = "false"