This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/ChopSueyYumm on 2025-04-15 14:18:56+00:00.


I was really frustrated with the tedious process of manually configuring Cloudflare Tunnel ingress rules every time I wanted to expose a new Docker container. So, I built DockFlare! It’s a self-hosted ingress controller designed to automate the entire process using Docker labels.

Just add a few simple labels to your containers (e.g., cloudflare.tunnel.enable=true, cloudflare.tunnel.hostname=your.domain.com), and DockFlare takes care of the rest – including deploying and managing the cloudflared agent. No more manual edits in the Cloudflare dashboard!

Key features:

  • Label-based Dynamic Configuration: Automatically updates Cloudflare Tunnel rules based on container labels.
  • cloudflared Agent Auto-Deploy: Handles the deployment and lifecycle of the cloudflared container.
  • Graceful Deletion + State Persistence: Gracefully removes rules when containers stop, and persists state across restarts.
  • Web UI: Provides a status dashboard and control panel for your Tunnel and managed rules.

Check it out on GitHub:

I’d love to get your feedback and contributions! Let me know what you think. Are there any features you’d find particularly useful?