Skip to content

fix: Clawdbot deployment fixes for PR #21#22

Open
tayvoncarr4-afk wants to merge 6 commits into
Vistara-Labs:mainfrom
tayvoncarr4-afk:fix-clawdbot-deployment
Open

fix: Clawdbot deployment fixes for PR #21#22
tayvoncarr4-afk wants to merge 6 commits into
Vistara-Labs:mainfrom
tayvoncarr4-afk:fix-clawdbot-deployment

Conversation

@tayvoncarr4-afk

Copy link
Copy Markdown

Fixes for Clawdbot/Moltbot deployment

This PR fixes several issues discovered while testing the moltbot-cloud deployment:

Changes:

  • Config filename: moltbot.jsonclawdbot.json (gateway expects this name)
  • Removed invalid config key: controlUi.dangerouslyDisableDeviceAuth doesn't exist
  • Fixed entrypoint path in original Dockerfile
  • Added Dockerfile.npm: Simpler build that installs from npm registry (~1GB image vs building from source)
  • Fixed gateway command: moltbotclawdbot, added --allow-unconfigured flag
  • Added README.md with build/run instructions

Tested:

  • Container builds successfully ✅
  • Gateway starts and listens on port 18789 ✅
  • Health checks pass ✅
  • Control UI accessible ✅

Builds on PR #21 by @mmchougule

mmchougule and others added 6 commits January 28, 2026 13:23
- Expand subnet from /24 (254 IPs) to /16 (65k IPs)
- Call DelNetworkList in DeleteContainer to release IPs on delete
- Add defer in CreateContainer to cleanup CNI on error path
- Add GarbageCollectCNI() to clean orphaned IP allocations
- Run GC every ~5 minutes in monitorWorkloads loop
- Add darwin stub for cross-platform compilation

Fixes IP pool exhaustion even with few running workloads.
- Fix config filename (moltbot.json -> clawdbot.json)
- Remove invalid controlUi.dangerouslyDisableDeviceAuth option
- Remove auth.profiles section (not needed)
- Add Dockerfile.npm for installing from npm registry
- Fix entrypoint path in original Dockerfile
- Tested: container starts, gateway runs, health checks pass
Includes:
- Build instructions for both Dockerfiles
- Running instructions (Docker standalone and Hypercore)
- Environment variables documentation
- Health check info
- Hypercore requirements
Allows configuring the default model via environment variable.
Default: anthropic/claude-sonnet-4-20250514
@mmchougule

Copy link
Copy Markdown
Collaborator

thanks @tayvoncarr4-afk . can you please resolve conflicts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants