feat: Add Docker support for easy deployment 🐳#357
Open
vincent067 wants to merge 1 commit intovivekchand:mainfrom
Open
feat: Add Docker support for easy deployment 🐳#357vincent067 wants to merge 1 commit intovivekchand:mainfrom
vincent067 wants to merge 1 commit intovivekchand:mainfrom
Conversation
This PR adds Docker support to make it easier for users to run ClawMetry without worrying about Python dependencies. Changes: - Add Dockerfile based on python:3.11-slim - Add .dockerignore to keep image small - Update README with Docker deployment instructions Tested locally with docker build and docker run. Closes vivekchand#78 (partially - Docker deployment) Thanks for maintaining this awesome project! 🦞
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.
Hey there! 👋
First off, thanks for building ClawMetry - it's been super helpful for monitoring my OpenClaw agents. The "see your agent think" philosophy really resonates with me.
What this PR does:
I've been wanting to run ClawMetry in a containerized environment (my homelab setup is all Docker-based), so I figured I'd contribute the setup back upstream.
This PR adds:
Why this is useful:
Testing I did:
Built and tested locally:
docker build -t clawmetry .
docker run -p 8900:8900 -v ~/.openclaw:/root/.openclaw clawmetry
Works great! Dashboard loads fine and auto-detects my OpenClaw workspace.
One small note:
I'm not 100% sure about the healthcheck command - went with a simple HTTP check to /api/health. Let me know if there's a better endpoint to use.
Also, I kept the Dockerfile pretty minimal following the project's philosophy. Happy to adjust if you prefer a different approach.
Cheers! 🦞
P.S. This is my first contribution to ClawMetry - hope I followed the conventions correctly. Feedback welcome!