Skip to content

feat: Add Docker support for easy deployment 🐳#357

Open
vincent067 wants to merge 1 commit intovivekchand:mainfrom
vincent067:feat/add-docker-support
Open

feat: Add Docker support for easy deployment 🐳#357
vincent067 wants to merge 1 commit intovivekchand:mainfrom
vincent067:feat/add-docker-support

Conversation

@vincent067
Copy link
Copy Markdown

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:

  • 🐳 Dockerfile - based on python:3.11-slim, keeps things lightweight
  • 🙈 .dockerignore - excludes unnecessary stuff to keep image size down
  • 📖 README updates - Docker deployment instructions with docker-compose example

Why this is useful:

  • Makes it easier for folks who prefer containerized deployments
  • No need to worry about Python version conflicts on the host
  • Easy to spin up multiple instances for different environments

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!

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! 🦞
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.

1 participant