fix: Clawdbot deployment fixes for PR #21#22
Open
tayvoncarr4-afk wants to merge 6 commits into
Open
Conversation
- 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
Collaborator
|
thanks @tayvoncarr4-afk . can you please resolve conflicts? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes for Clawdbot/Moltbot deployment
This PR fixes several issues discovered while testing the moltbot-cloud deployment:
Changes:
moltbot.json→clawdbot.json(gateway expects this name)controlUi.dangerouslyDisableDeviceAuthdoesn't existDockerfile.npm: Simpler build that installs from npm registry (~1GB image vs building from source)moltbot→clawdbot, added--allow-unconfiguredflagTested:
Builds on PR #21 by @mmchougule