DockFlare External Mode - Caution Reminder #87
ChrispyBacon-dev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
External
cloudflared
Mode & SwitchingCaution
ADVANCED USERS ONLY - HIGH POTENTIAL FOR MISCONFIGURATION
External
cloudflared
mode is powerful but requires a deep understanding of Docker networking and Cloudflare Tunnels. Misconfiguration can easily lead to services being unreachable or DockFlare being unable to manage resources correctly.Proceed with extreme caution and only if you are comfortable managing
cloudflared
and Docker network configurations independently. This mode is not recommended for users new to Docker or Cloudflare Tunnels.DockFlare can integrate with an existing
cloudflared
tunnel that you manage completely separately (i.e., not started or configured by DockFlare). In this mode, DockFlare focuses on DNS and Cloudflare Access Application management for that tunnel.Critical Prerequisite: Docker Network Configuration
cloudflared
tunnel, all relevant containers (DockFlare itself, your target application containers, and potentially your externally managedcloudflared
agent if it needs to resolve services by Docker DNS) must share a common Docker network and be able to communicate.cloudflared
agent.To Use External Mode:
Set
USE_EXTERNAL_CLOUDFLARED=true
in your.env
file.Set
EXTERNAL_TUNNEL_ID
in your.env
file to your existing tunnel's UUID.How to Find Your Existing Tunnel ID
DockFlare's Behavior in External Mode:
EXTERNAL_TUNNEL_ID
.cloudflared
agent Docker container. You are fully responsible for the lifecycle and configuration of yourcloudflared
agent.cloudflared
agent's configuration file (e.g.,config.yml
). DockFlare assumes your externalcloudflared
agent is already correctly routing traffic for the hostnames it manages DNS for.Warning
Authoritative DNS Management in External Mode:
When
USE_EXTERNAL_CLOUDFLARED=true
, DockFlare assumes it has authoritative control over CNAME DNS records in the specified Cloudflare zones that point to theEXTERNAL_TUNNEL_ID
.EXTERNAL_TUNNEL_ID
within the monitored zones.Before Enabling External Mode, Ensure You Can Answer "Yes" To:
cloudflared
tunnel already running and configured independently of DockFlare?cloudflared
agent's configuration file (config.yml
) correctly define ingress rules for the services I want DockFlare to manage DNS/Access for?cloudflared
agent (if resolving services by Docker DNS) all on a shared Docker network that allows them to communicate as needed?If you cannot confidently answer "yes" to all these questions, using DockFlare's default managed
cloudflared
mode is strongly recommended.Beta Was this translation helpful? Give feedback.
All reactions