Skip to content

feat: add DockRoute template - #1079

Open
danilodorgam wants to merge 1 commit into
Dokploy:canaryfrom
danilodorgam:add-dockroute-template
Open

feat: add DockRoute template#1079
danilodorgam wants to merge 1 commit into
Dokploy:canaryfrom
danilodorgam:add-dockroute-template

Conversation

@danilodorgam

Copy link
Copy Markdown

Adds DockRoute (source, MIT) — External-DNS for plain Docker hosts. It watches running containers, reads dockroute.* labels and reconciles the matching DNS records (and Cloudflare Tunnel routes) in a pluggable provider, with ExternalDNS-style TXT ownership so it never alters records it cannot prove it manages.

Positioning for Dokploy users: DNS automation for the containers your platform doesn't route — internal/LAN DNS, Cloudflare Tunnel ingress, or records for services outside the Traefik flow.

Template notes:

  • Headless service (no UI), so domains = [] — same shape as cloudflare-ddns / cloudflared.
  • Defaults are safe: the log provider is a zero-credential dry run that only prints the desired state; switching DOCKROUTE_PROVIDER to cloudflare plus an API token goes live.
  • Docker socket is mounted read-only; the image detects the socket's group at runtime and drops privileges to a non-root user by itself.
  • Image ghcr.io/dockroute/dockroute:0.2.0, multi-arch (amd64 + arm64), Trivy-gated releases.

Validated with build-scripts: validate-template and validate-docker-compose both pass.

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. new-template labels Aug 12, 2026
@danilodorgam
danilodorgam force-pushed the add-dockroute-template branch from f900330 to 63e6dd6 Compare August 12, 2026 05:41
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Aug 12, 2026
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 63e6dd6

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

Labels

new-template size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant