🤖 config: set gateway auth token defaults

What:
- configure gateway bind + auth token in host config
- update example gateway block for local mode + token placeholder

Why:
- gateway CLI now requires token/password auth by default
- keep examples aligned with current gateway schema

Tests:
- not run (infra config change; no automated tests)
This commit is contained in:
Josh Palmer
2026-01-28 20:35:00 +01:00
parent 40c122492f
commit 2e795cda35
2 changed files with 12 additions and 2 deletions
+5 -1
View File
@@ -25,7 +25,11 @@
# Raw Moltbot config JSON (schema is upstream). Extend as needed.
config = {
gateway.mode = "server";
gateway = {
mode = "local";
bind = "loopback";
auth.token = "<GATEWAY_TOKEN>";
};
agents.defaults.workspace = "/var/lib/clawd/workspace";
messages.queue.byChannel = {
discord = "queue";
+7 -1
View File
@@ -73,7 +73,13 @@ in
repoSeeds = repoSeeds;
config = {
gateway.mode = "local";
gateway = {
mode = "local";
bind = "loopback";
auth = {
token = "clawdinator-local";
};
};
agents.defaults = {
workspace = "/var/lib/clawd/workspace";
maxConcurrent = 4;