Commit Graph

9 Commits

Author SHA1 Message Date
Ojus Save
3518abc344 chore: align with moltbot rename (upstream moltbot/moltbot)
- package.json: name moltbot, bin moltbot + clawdbot (compat shim)
- paths.ts: MOLTBOT_* preferred, CLAWDBOT_* legacy; default ~/.clawdbot; config moltbot.json; export STATE_DIR/CONFIG_PATH
- render.yaml: service name moltbot, disk moltbot-data; CLAWDBOT_* env vars and /data/.clawdbot (match upstream)
- render-start.sh: support CLAWDBOT_* and MOLTBOT_* for state/token; write moltbot.json
- Dockerfile: MOLTBOT_DOCKER_APT_PACKAGES, MOLTBOT_PREFER_PNPM
- config/io.ts: MOLTBOT_* env for gateway token and config cache
- Replace STATE_DIR_CLAWDBOT/CONFIG_PATH_CLAWDBOT with STATE_DIR_MOLTBOT/CONFIG_PATH_MOLTBOT across src; paths exports both for compat
2026-01-27 09:38:28 -08:00
Ojus Save
cd5e6e84a9 docs: update Render deployment guide with LLM API key configuration
- Add section on configuring LLM provider API keys (Anthropic, OpenAI, Gemini, etc.)
- Include wrapper reference to render_clawdbot repository
- Update render.yaml blueprint example with API key environment variables
- Add instructions for setting API keys in Render dashboard
- Document alternative config file method
2026-01-26 02:10:38 -08:00
Ojus Save
035fa457bd fix(render): use startup script to configure trustedProxies
The key difference from the wrapper:
- Wrapper strips proxy headers before forwarding to internal gateway
- Direct deployment needs trustedProxies config to trust Render's proxy IPs

This script:
1. Creates config with gateway.trustedProxies for Render's internal IPs
2. Sets allowInsecureAuth for Control UI access
3. Starts gateway with token auth
2026-01-26 01:04:34 -08:00
Ojus Save
5d805bad7e fix(render): correct command - gateway not gateway run 2026-01-26 00:43:35 -08:00
Ojus Save
6512f3662f fix(render): simplify dockerCommand, use token auth with CLAWDBOT_GATEWAY_TOKEN 2026-01-26 00:36:52 -08:00
Ojus Save
fab6b51b6e fix(render): add startup script to configure trusted proxies and insecure UI auth
- Create render-start.sh that writes config before starting gateway
- Configure gateway.trustedProxies for Render's internal network
- Enable gateway.controlUi.allowInsecureAuth to skip device pairing
2026-01-26 00:20:36 -08:00
Ojus Save
09e3212b5b fix(render): add --trust-proxy flag for Render load balancer 2026-01-26 00:09:58 -08:00
Ojus Save
0dff831354 fix(render): use dockerCommand in render.yaml instead of modifying Dockerfile
- Revert Dockerfile to generic CMD for compatibility with other platforms
- Add dockerCommand to render.yaml to run gateway with proper flags
- Use CLAWDBOT_GATEWAY_PASSWORD env var for password auth
- Remove healthCheckPath (gateway uses WebSocket, not HTTP health)
2026-01-25 23:55:18 -08:00
Shadow
136f0d4d1d
Docs: add Render deployment guide (#1975)
Co-authored-by: Anurag Goel <anurag@users.noreply.github.com>
2026-01-25 20:28:53 -06:00