Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.
Cloudflare Tunnel runs the official cloudflared container next to the control plane. The container dials out to Cloudflare with a tunnel token from your own account, so visitors reach you through Cloudflare without any inbound port open on the server.
Experimental. It is built and covered by reconciler and API unit tests, but it has not been proven on a real host with a real Cloudflare account. Try it on a test server first. It stays experimental until a real run is recorded, see Experimental features.
What it does
Starts one container named <brand>-cloudflared (for example levelrail-cloudflared) from cloudflare/cloudflared, running tunnel --no-autoupdate run. The image tag is pinned and can be overridden with APP_CLOUDFLARED_IMAGE.
Passes the token to the container as the TUNNEL_TOKEN environment variable. The token is stored encrypted in the platform’s secrets store and is never returned by the API, CLI or MCP.
Keeps the container converged: it creates it when enabled, restarts it if it stopped, replaces it when the image changes, and removes it when you disable or disconnect.
Does not configure Cloudflare for you. Which hostname goes to which service is set on Cloudflare’s side, in the Zero Trust dashboard.
It is a different credential from the DNS-01 token in domains cloudflare-dns, and it does not replace Run behind Cloudflare, which covers the orange cloud proxy.
Turn the feature on
Switch it on in Settings under beta features, or with levelrail-cli settings beta-features set cloudflare-tunnel on. It applies at once, with no restart: the reconciler is always registered and checks the switch on every pass. APP_EXPERIMENTAL=cloudflare-tunnel still works as a seed. With the switch off the API answers 404 with experimental_feature_disabled.Switching it off stops reconciling and leaves any running container untouched. To remove the container, disconnect first (it deletes the token and removes the container), then switch the feature off.The control plane also needs its secrets master key. Without one, PUT and DELETE answer 501.
Set it up
In the Cloudflare Zero Trust dashboard, create a tunnel and copy its token.
In the same dashboard, add a public hostname for the tunnel and point it at a service the cloudflared container can reach, such as the address of your Levelrail ingress. The container uses the default Docker network, so use an address reachable from there, not a platform container name.
Give the token to Levelrail, in the dashboard under Settings, Cloudflare Tunnel, or with the CLI:
levelrail-cli cloudflare-tunnel set --cf-tunnel-token TOKENlevelrail-cli cloudflare-tunnel get
--cf-tunnel-token is required the first time you enable the tunnel. Later calls may omit it to keep the stored token. --enabled=false stops the container and keeps the token. The same settings are available over GET, PUT and DELETE /api/v1/settings/cloudflare-tunnel, and as a read-only get_cloudflare_tunnel_status MCP tool.
Check status
cloudflare-tunnel get returns enabled, has_token, status and a message when something is wrong.
Status
Meaning
connected
The cloudflared container is running. This reports the container, not Cloudflare’s view of the connection, so confirm the tunnel is healthy in the Zero Trust dashboard too.
error
Enabled but not converging, for example no token yet or the container failed to create or start. The message has the reason.
disconnected
Disabled or never configured.
Security notes
The token lets anyone who holds it run a connector for your tunnel. Treat it like a password and rotate it in Cloudflare if it leaks, then run set --cf-tunnel-token NEW.
The token is visible in the container’s environment to anything with access to the Docker socket on the host, like other credentials the platform injects into containers.
Changing settings needs the root ability. Reading status needs read access.
The tunnel exposes only the hostnames you route in Cloudflare. Levelrail does not add any. Add Cloudflare Access policies for anything that should not be public, and keep your own login in front of the dashboard.
Traffic reaches the server from the cloudflared container, so client addresses are not the visitor’s. See Run behind Cloudflare for real client IP handling.
Remove it
levelrail-cli cloudflare-tunnel disconnect
This disables the tunnel, deletes the stored token and removes the container. It is safe to run twice. Then delete the tunnel and its public hostnames in Cloudflare, otherwise the DNS records keep pointing at a tunnel with no connector.
Known gaps
Not proven on a real host or a real account.
Status reflects the local container only.
Last modified on November 8, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Levelrail","description":"Self-hosted deployment platform. Push to git, get a running app with TLS, logs, metrics and rollback. One Go binary, no Kubernetes.","colors":{"primary":"#107292","light":"#2FB3DC","dark":"#084F67"},"logo":{"light":"https://mintcdn.com/levelrail/56HjW70mOjUmjIrm/assets/brand/wordmark-light.svg?fit=max\u0026auto=format\u0026n=56HjW70mOjUmjIrm\u0026q=85\u0026s=cbe02b3c3d17b11f9cc5a18551a30782","dark":"https://mintcdn.com/levelrail/56HjW70mOjUmjIrm/assets/brand/wordmark-dark.svg?fit=max\u0026auto=format\u0026n=56HjW70mOjUmjIrm\u0026q=85\u0026s=a4aa78b496c43e0a5edd9dffce778a45","href":"https://levelrail.com"},"favicon":"https://mintcdn.com/levelrail/zPhEnShTGkGFCjPc/public/favicon.svg?fit=max\u0026auto=format\u0026n=zPhEnShTGkGFCjPc\u0026q=85\u0026s=65f3143dd7539d4b1d34090204f05be0","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#000000"}},"navbar":{"links":[{"icon":"globe","href":"https://levelrail.com","label":"Website"},{"icon":"clock-rotate-left","href":"/changelog","label":"Changelog"},{"icon":"github","href":"https://github.com/glincker/levelrail","label":"GitHub"}],"primary":{"type":"button","label":"Get started","href":"/getting-started"}},"footer":{"socials":{"github":"https://github.com/glincker/levelrail","x":"https://x.com/thegdsks","website":"https://levelrail.com"}},"search":{"prompt":"Search docs, CLI, API, guides"},"seo":{"metatags":{"og:site_name":"Levelrail Docs","og:type":"website","og:image":"https://docs.levelrail.com/public/og/default.png","og:image:width":"1200","og:image:height":"630","twitter:card":"summary_large_image","twitter:image":"https://docs.levelrail.com/public/og/default.png","twitter:site":"@thegdsks","keywords":"self-hosted PaaS, Coolify alternative, Docker deployment platform, self-hosted deploys, Levelrail"},"indexing":"navigable"},"fonts":{"heading":{"family":"Geist","weight":500},"body":{"family":"Geist"}},"styling":{"codeblocks":"dark","latex":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page moved or never existed. Try the [quickstart](/getting-started), the [all pages index](/all-pages) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levelrail","hasAudioNarration":false,"actualSubdomain":"levelrail","customDomains":["docs.levelrail.com"],"gitSource":{"type":"github","owner":"glincker","repo":"levelrail","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6afbaaa0074d6c6a87c9ab92","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Self-host gallery","count":575},{"language":"default","tag":"How-to guides","count":255},{"language":"default","tag":"Productivity","count":86},{"language":"default","tag":"Developer Tools","count":82},{"language":"default","tag":"Get started","count":57},{"language":"default","tag":"Deploying","count":56},{"language":"default","tag":"Database Tools","count":50},{"language":"default","tag":"AI","count":48},{"language":"default","tag":"Monitoring","count":48},{"language":"default","tag":"Media","count":47}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--lr-live: #2fb3dc;--lr-soft: #58b1ce;--lr-teal: #107292;--lr-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--lr-r: 12px;--lr-face: #0e0f11;--lr-face-2: #141617;--lr-text: #cfcfd3;--lr-link: #58b1ce;--lr-line: rgba(255, 255, 255, 0.08);--lr-ring: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.06));--lr-ring-hot: linear-gradient(180deg, rgba(47, 179, 220, 0.55), rgba(47, 179, 220, 0.12) 45%, rgba(47, 179, 220, 0.2));--lr-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));--lr-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 1px rgba(0, 0, 0, 0.5), 0 8px 16px -4px rgba(0, 0, 0, 0.55), 0 24px 48px -12px rgba(0, 0, 0, 0.65);--lr-glow-op: 1;--lr-grain: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 9 0 0 0 -4.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")}html:not(.dark){--lr-face: #ffffff;--lr-face-2: #f6f6f7;--lr-text: #3a3d40;--lr-link: #107292;--lr-line: rgba(14, 15, 17, 0.1);--lr-ring: linear-gradient(180deg, rgba(14, 15, 17, 0.2), rgba(14, 15, 17, 0.08) 40%, rgba(14, 15, 17, 0.1));--lr-ring-hot: linear-gradient(180deg, rgba(16, 114, 146, 0.6), rgba(16, 114, 146, 0.18) 45%, rgba(16, 114, 146, 0.26));--lr-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));--lr-shadow: 0 1px 1px rgba(14, 15, 17, 0.06), 0 8px 16px -6px rgba(14, 15, 17, 0.1);--lr-glow-op: 0.35}html.dark body{background-color:#000}body{position:relative;font-feature-settings:\"cv11\", \"ss03\";-webkit-font-smoothing:antialiased}body::before,body::after{content:\"\";position:absolute;inset:0 0 auto 0;height:440px;z-index:-1;pointer-events:none;background:radial-gradient(54% 92% at 50% 0%, rgba(47, 179, 220, 0.42), transparent 72%),\n radial-gradient(38% 78% at 10% 0%, rgba(31, 200, 176, 0.3), transparent 72%),\n radial-gradient(36% 70% at 92% 0%, rgba(108, 125, 255, 0.3), transparent 72%)}body::before{opacity:calc(0.4 * var(--lr-glow-op))}body::after{opacity:calc(0.9 * var(--lr-glow-op));filter:saturate(1.2) brightness(1.25);-webkit-mask-image:var(--lr-grain), linear-gradient(to bottom, #000 0%, transparent 88%);-webkit-mask-size:220px 220px, 100% 100%;-webkit-mask-composite:source-in;mask-image:var(--lr-grain), linear-gradient(to bottom, #000 0%, transparent 88%);mask-size:220px 220px, 100% 100%;mask-composite:intersect}html{isolation:isolate}#content-area,#content-container{color:var(--lr-text)}#page-title{font-weight:300;letter-spacing:-0.03em;line-height:1.08;text-wrap:balance}#content-area h2{font-weight:300;letter-spacing:-0.025em}#content-area h3,#content-area h4{font-weight:500;letter-spacing:-0.02em}#header p,#content-area p{text-wrap:pretty}#header>div>div:first-child:not(:has(h1)){font-family:var(--lr-mono);font-size:0.75rem;letter-spacing:0.08em;text-transform:uppercase;color:#8d8d96}#content-area a:not(.card):not([data-component-part]){color:var(--lr-link)}#content-area a[href]:not(.card){text-decoration-color:color-mix(in srgb, var(--lr-link) 40%, transparent)}#content-area a[href]:not(.card):hover{text-decoration-color:currentColor}code,pre,kbd,samp{font-family:var(--lr-mono)!important;font-feature-settings:\"calt\" 0}#content-area :not(pre)>code{background:var(--lr-face-2);border:1px solid var(--lr-line);border-radius:6px;padding:0.1em 0.4em;font-size:0.875em;color:inherit}html.dark #content-area :not(pre)>code{color:#e4e4e7}.code-block{border-radius:var(--lr-r);border:1px solid transparent;box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(#08090a, #08090a) padding-box, var(--lr-ring) border-box}.code-block-background,.code-block>div{border-radius:var(--lr-r);background-color:transparent}.code-block [data-component-part=\"code-block-root\"],.code-block pre{background:transparent}.code-block code{font-size:0.8125rem;line-height:1.7}.card,.accordion,.accordion-group,.callout{border:1px solid transparent;border-radius:var(--lr-r);box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face), var(--lr-face)) padding-box, var(--lr-ring) border-box}.card{transition:box-shadow 0.2s, transform 0.2s}.card:hover{transform:translateY(-1px)}html.dark .card:hover{border-color:rgba(47, 179, 220, 0.45)}.card [data-component-part=\"card-title\"]{font-weight:500;letter-spacing:-0.01em}.card [data-component-part=\"card-icon\"]{color:var(--lr-live)}html:not(.dark) .card [data-component-part=\"card-icon\"]{color:#107292}.accordion{margin-bottom:0.75rem;overflow:hidden}.accordion-group{overflow:hidden}.callout{padding:1rem 1.25rem}.callout[class*=\"border-yellow\"],.callout[class*=\"border-green\"],.callout[class*=\"border-blue\"],.callout[class*=\"border-red\"],.callout[class*=\"border-sky\"]{background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face), var(--lr-face)) padding-box, var(--lr-ring) border-box}@media (prefers-reduced-motion: reduce){.card{transition:none}.card:hover{transform:none}}#content-area table{border-collapse:separate;border-spacing:0;border:1px solid var(--lr-line);border-radius:var(--lr-r);overflow:hidden;box-shadow:var(--lr-shadow)}#content-area thead th{font-family:var(--lr-mono);font-size:0.75rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:#8d8d96;background:var(--lr-face-2)}#content-area tbody td,#content-area thead th{border-bottom:1px solid var(--lr-line)}#content-area tbody tr:last-child td{border-bottom:0}#navbar>div.absolute,#navbar>div>div.absolute{background:color-mix(in srgb, var(--lr-face) 38%, transparent);border-bottom-color:var(--lr-line);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3)}#sidebar .sticky.pointer-events-none{background:none}#navbar .nav-tabs-item[data-active=\"true\"]{color:var(--lr-live)}html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]{color:#107292}#navbar .nav-tabs-item[data-active=\"true\"]>div,#navbar .nav-tabs-item[data-active=\"true\"]::after{background:var(--lr-live)}html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]>div,html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"]::after{background:#107292}#topbar-cta-button a>span.absolute{border-radius:50px;background:var(--lr-live);border:1px solid rgba(255, 255, 255, 0.35);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 6px 14px -6px rgba(47, 179, 220, 0.45)}#topbar-cta-button a{padding-left:1rem;padding-right:0.75rem}#topbar-cta-button a .text-white,#topbar-cta-button a svg{color:#000!important}html:not(.dark) #topbar-cta-button a>span.absolute{background:#06232c;border-color:transparent;box-shadow:0 1px 1px rgba(14, 15, 17, 0.3)}html:not(.dark) #topbar-cta-button a .text-white,html:not(.dark) #topbar-cta-button a svg{color:#2fb3dc!important}#search-bar-entry{border-radius:50px;border:1px solid transparent;box-shadow:var(--lr-shadow);background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face-2), var(--lr-face-2)) padding-box, var(--lr-ring) border-box}#search-bar-entry:hover{background:var(--lr-sheen) padding-box, linear-gradient(var(--lr-face-2), var(--lr-face-2)) padding-box, var(--lr-ring-hot) border-box}#sidebar .sidebar-group-header{font-family:var(--lr-mono);font-size:0.6875rem;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;color:#8d8d96}#sidebar a[aria-current=\"page\"]{border-radius:50px;color:var(--lr-live);background:rgba(47, 179, 220, 0.08);box-shadow:inset 0 0 0 1px rgba(47, 179, 220, 0.2)}html:not(.dark) #sidebar a[aria-current=\"page\"]{color:#084f67;background:rgba(16, 114, 146, 0.09);box-shadow:inset 0 0 0 1px rgba(16, 114, 146, 0.25)}#sidebar a:not([aria-current=\"page\"]):hover{border-radius:50px}#table-of-contents a[data-active=\"true\"],#table-of-contents .toc-item[data-active=\"true\"]{color:var(--lr-live)}html:not(.dark) #table-of-contents a[data-active=\"true\"]{color:#107292}#footer{border-top:1px solid var(--lr-line)}#content-area table th,#content-area table td{padding:0.75rem 1rem;vertical-align:top}#content-area table td:first-child{font-weight:500}#sidebar a[aria-current=\"page\"] img[src*=\"/assets/icons/\"],#navbar .nav-tabs-item[data-active=\"true\"] img[src*=\"/assets/icons/\"]{filter:brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(237%) hue-rotate(148deg) brightness(81%) contrast(149%)}html:not(.dark) #sidebar a[aria-current=\"page\"] img[src*=\"/assets/icons/\"],html:not(.dark) #navbar .nav-tabs-item[data-active=\"true\"] img[src*=\"/assets/icons/\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(90%) saturate(323%) hue-rotate(148deg) brightness(118%) contrast(123%)}"}],"page":{"pagePath":"cloudflare-tunnel","slug":"/cloudflare-tunnel","pageMetadata":{"title":"Cloudflare Tunnel","description":"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.","og:url":"https://docs.levelrail.com/cloudflare-tunnel","href":"/cloudflare-tunnel"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Cloudflare Tunnel runs the official `,_jsx(_components.code,{children:`cloudflared`}),` container next to the control plane. The container dials out to Cloudflare with a tunnel token from your own account, so visitors reach you through Cloudflare without any inbound port open on the server.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Experimental. It is built and covered by reconciler and API unit tests, but it has not been proven on a real host with a real Cloudflare account. Try it on a test server first. It stays experimental until a real run is recorded, see `,_jsx(_components.a,{href:`/experimental-features`,children:`Experimental features`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-does`,children:`What it does`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Starts one container named `,_jsx(_components.code,{children:`\u003cbrand>-cloudflared`}),` (for example `,_jsx(_components.code,{children:`levelrail-cloudflared`}),`) from `,_jsx(_components.code,{children:`cloudflare/cloudflared`}),`, running `,_jsx(_components.code,{children:`tunnel --no-autoupdate run`}),`. The image tag is pinned and can be overridden with `,_jsx(_components.code,{children:`APP_CLOUDFLARED_IMAGE`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Passes the token to the container as the `,_jsx(_components.code,{children:`TUNNEL_TOKEN`}),` environment variable. The token is stored encrypted in the platform’s secrets store and is never returned by the API, CLI or MCP.`]}),`\n`,_jsx(_components.li,{children:`Keeps the container converged: it creates it when enabled, restarts it if it stopped, replaces it when the image changes, and removes it when you disable or disconnect.`}),`\n`,_jsx(_components.li,{children:`Does not configure Cloudflare for you. Which hostname goes to which service is set on Cloudflare’s side, in the Zero Trust dashboard.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`It is a different credential from the DNS-01 token in `,_jsx(_components.code,{children:`domains cloudflare-dns`}),`, and it does not replace `,_jsx(_components.a,{href:`/behind-cloudflare`,children:`Run behind Cloudflare`}),`, which covers the orange cloud proxy.`]}),`\n`,_jsx(Heading,{level:`2`,id:`turn-the-feature-on`,children:`Turn the feature on`}),`\n`,_jsxs(_components.p,{children:[`Switch it on in Settings under beta features, or with `,_jsx(_components.code,{children:`levelrail-cli settings beta-features set cloudflare-tunnel on`}),`. It applies at once, with no restart: the reconciler is always registered and checks the switch on every pass. `,_jsx(_components.code,{children:`APP_EXPERIMENTAL=cloudflare-tunnel`}),` still works as a seed. With the switch off the API answers `,_jsx(_components.code,{children:`404`}),` with `,_jsx(_components.code,{children:`experimental_feature_disabled`}),`.`]}),`\n`,_jsx(_components.p,{children:`Switching it off stops reconciling and leaves any running container untouched. To remove the container, disconnect first (it deletes the token and removes the container), then switch the feature off.`}),`\n`,_jsxs(_components.p,{children:[`The control plane also needs its secrets master key. Without one, `,_jsx(_components.code,{children:`PUT`}),` and `,_jsx(_components.code,{children:`DELETE`}),` answer `,_jsx(_components.code,{children:`501`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-it-up`,children:`Set it up`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`In the Cloudflare Zero Trust dashboard, create a tunnel and copy its token.`}),`\n`,_jsxs(_components.li,{children:[`In the same dashboard, add a public hostname for the tunnel and point it at a service the `,_jsx(_components.code,{children:`cloudflared`}),` container can reach, such as the address of your Levelrail ingress. The container uses the default Docker network, so use an address reachable from there, not a platform container name.`]}),`\n`,_jsx(_components.li,{children:`Give the token to Levelrail, in the dashboard under Settings, Cloudflare Tunnel, or with the CLI:`}),`\n`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`levelrail-cli cloudflare-tunnel set --cf-tunnel-token TOKEN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`levelrail-cli cloudflare-tunnel get`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--cf-tunnel-token`}),` is required the first time you enable the tunnel. Later calls may omit it to keep the stored token. `,_jsx(_components.code,{children:`--enabled=false`}),` stops the container and keeps the token. The same settings are available over `,_jsx(_components.code,{children:`GET`}),`, `,_jsx(_components.code,{children:`PUT`}),` and `,_jsx(_components.code,{children:`DELETE /api/v1/settings/cloudflare-tunnel`}),`, and as a read-only `,_jsx(_components.code,{children:`get_cloudflare_tunnel_status`}),` MCP tool.`]}),`\n`,_jsx(Heading,{level:`2`,id:`check-status`,children:`Check status`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cloudflare-tunnel get`}),` returns `,_jsx(_components.code,{children:`enabled`}),`, `,_jsx(_components.code,{children:`has_token`}),`, `,_jsx(_components.code,{children:`status`}),` and a `,_jsx(_components.code,{children:`message`}),` when something is wrong.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connected`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`cloudflared`}),` container is running. This reports the container, not Cloudflare’s view of the connection, so confirm the tunnel is healthy in the Zero Trust dashboard too.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`Enabled but not converging, for example no token yet or the container failed to create or start. The message has the reason.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`disconnected`})}),_jsx(_components.td,{children:`Disabled or never configured.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`security-notes`,children:`Security notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The token lets anyone who holds it run a connector for your tunnel. Treat it like a password and rotate it in Cloudflare if it leaks, then run `,_jsx(_components.code,{children:`set --cf-tunnel-token NEW`}),`.`]}),`\n`,_jsx(_components.li,{children:`The token is visible in the container’s environment to anything with access to the Docker socket on the host, like other credentials the platform injects into containers.`}),`\n`,_jsx(_components.li,{children:`Changing settings needs the root ability. Reading status needs read access.`}),`\n`,_jsx(_components.li,{children:`The tunnel exposes only the hostnames you route in Cloudflare. Levelrail does not add any. Add Cloudflare Access policies for anything that should not be public, and keep your own login in front of the dashboard.`}),`\n`,_jsxs(_components.li,{children:[`Traffic reaches the server from the `,_jsx(_components.code,{children:`cloudflared`}),` container, so client addresses are not the visitor’s. See `,_jsx(_components.a,{href:`/behind-cloudflare`,children:`Run behind Cloudflare`}),` for real client IP handling.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`remove-it`,children:`Remove it`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`levelrail-cli cloudflare-tunnel disconnect`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`This disables the tunnel, deletes the stored token and removes the container. It is safe to run twice. Then delete the tunnel and its public hostnames in Cloudflare, otherwise the DNS records keep pointing at a tunnel with no connector.`}),`\n`,_jsx(Heading,{level:`2`,id:`known-gaps`,children:`Known gaps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Not proven on a real host or a real account.`}),`\n`,_jsx(_components.li,{children:`Status reflects the local container only.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Cloudflare Tunnel","description":"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.","og:url":"https://docs.levelrail.com/cloudflare-tunnel","href":"/cloudflare-tunnel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What it does","slug":"what-it-does","depth":2,"children":[]},{"title":"Turn the feature on","slug":"turn-the-feature-on","depth":2,"children":[]},{"title":"Set it up","slug":"set-it-up","depth":2,"children":[]},{"title":"Check status","slug":"check-status","depth":2,"children":[]},{"title":"Security notes","slug":"security-notes","depth":2,"children":[]},{"title":"Remove it","slug":"remove-it","depth":2,"children":[]},{"title":"Known gaps","slug":"known-gaps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/levelrail/34332f0f5f6180ce/public/deploy.js"],"subdomain":"levelrail","siteName":"Levelrail","title":"Cloudflare Tunnel - Levelrail","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T17:48:52.028Z","gitLastModified":"2026-11-08T23:27:44.000Z","originalFileLocation":"cloudflare-tunnel.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\">\u003cmeta data-mint-head name=\"keywords\" content=\"self-hosted PaaS, Coolify alternative, Docker deployment platform, self-hosted deploys, Levelrail\">\u003cmeta data-mint-head name=\"application-name\" content=\"Levelrail\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cloudflare Tunnel - Levelrail\">\u003cmeta data-mint-head property=\"og:description\" content=\"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Levelrail Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.levelrail.com/cloudflare-tunnel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.levelrail.com/public/og/default.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cloudflare Tunnel - Levelrail\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.levelrail.com/public/og/default.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/levelrail/sfnZeja47AHfK8h4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Levelrail\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#107292\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.levelrail.com/cloudflare-tunnel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cloudflare-tunnel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.levelrail.com/#organization\",\"name\":\"Levelrail\",\"url\":\"https://docs.levelrail.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/levelrail/56HjW70mOjUmjIrm/assets/brand/wordmark-light.svg?fit=max\u0026auto=format\u0026n=56HjW70mOjUmjIrm\u0026q=85\u0026s=cbe02b3c3d17b11f9cc5a18551a30782\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.levelrail.com#website\",\"name\":\"Levelrail\",\"url\":\"https://docs.levelrail.com\",\"publisher\":{\"@id\":\"https://docs.levelrail.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.levelrail.com/cloudflare-tunnel#webpage\",\"url\":\"https://docs.levelrail.com/cloudflare-tunnel\",\"name\":\"Cloudflare Tunnel\",\"description\":\"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\",\"dateModified\":\"2026-11-08T23:27:44.000Z\",\"isPartOf\":{\"@id\":\"https://docs.levelrail.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.levelrail.com/cloudflare-tunnel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.levelrail.com/cloudflare-tunnel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Explanation\",\"item\":\"https://docs.levelrail.com/product-tour\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cloudflare Tunnel\",\"item\":\"https://docs.levelrail.com/cloudflare-tunnel\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.levelrail.com/cloudflare-tunnel#article\",\"headline\":\"Cloudflare Tunnel\",\"name\":\"Cloudflare Tunnel\",\"description\":\"Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.\",\"url\":\"https://docs.levelrail.com/cloudflare-tunnel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.levelrail.com/cloudflare-tunnel#webpage\"},\"image\":\"https://docs.levelrail.com/public/og/default.png\",\"dateModified\":\"2026-11-08T23:27:44.000Z\",\"publisher\":{\"@id\":\"https://docs.levelrail.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.levelrail.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Levelrail\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Levelrail\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cloudflare-tunnel.md","siteName":"Levelrail","nav":{"global":null,"tabs":[{"tab":"Get started","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/rocket-launch.svg","pages":[{"title":"Get started","href":""}]},{"tab":"How-to guides","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/book-open.svg","pages":[{"title":"How-to guides","href":"/doctor-and-import"}]},{"tab":"Reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/code.svg","pages":[{"title":"Reference","href":"/app-spec-reference"}]},{"tab":"Concepts","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/lightbulb.svg","groups":[{"group":"Explanation","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/lightbulb.svg","pages":[{"title":"Product tour","sidebarTitle":"Product tour","href":"/product-tour"},{"title":"Architecture","href":"/architecture"},{"title":"Security overview","href":"/security"},{"title":"Threat model","href":"/threat-model"},{"title":"Verify a release","href":"/verify-a-release"},{"title":"Docker access and the API guard","href":"/docker-access"},{"title":"vs Coolify, Dokploy, CapRover, Dokku, and Kamal","href":"/comparison"},{"title":"Who Levelrail is for","href":"/use-cases"},{"title":"White-labeling","href":"/white-labeling"},{"title":"glinr-bot","href":"/glinr-bot"},{"title":"Run behind an existing proxy","href":"/behind-an-existing-proxy"},{"title":"Run behind Cloudflare","href":"/behind-cloudflare"},{"title":"Cloudflare in front checklist","description":"The order to set up Cloudflare's proxy in front of a Levelrail server: SSL mode, client addresses, the per-app proxy, cache purge, and what a rollback does not change.","href":"/cloudflare-in-front"},{"title":"Cloudflare Tunnel","href":"/cloudflare-tunnel"},{"title":"Shared hosts","description":"What Levelrail touches and does not touch on a server that already runs other containers or a control panel.","href":"/shared-hosts"},{"title":"Security advisories","href":"/security-advisories"},{"title":"Advisory feed","href":"/advisory-feed"}]},{"group":"Compare and choose","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/scales.svg","pages":[{"title":"Self-hosted PaaS guide: what to look for and how Levelrail fits","href":"/self-hosted-paas"},{"title":"Coolify alternative: a self-hosted deploy platform","href":"/coolify-alternative"},{"title":"Dokploy alternative: self-hosted deploys without Docker Swarm","href":"/dokploy-alternative"},{"title":"CapRover alternative: self-hosted deploys without Docker Swarm","href":"/caprover-alternative"},{"title":"Dokku alternative: a dashboard, deploy history and multi-server","href":"/dokku-alternative"},{"title":"Kamal alternative with a dashboard, history and built-in observability","href":"/kamal-alternative"},{"title":"Self-hosted Heroku alternative: push-to-deploy on your own servers","href":"/heroku-alternative"},{"title":"Self-hosted Railway alternative with built-in observability","href":"/railway-alternative"},{"title":"Self-hosted Vercel alternative for Next.js and Docker apps","href":"/vercel-alternative"},{"title":"Self-hosted Netlify alternative for static sites and Docker apps","href":"/netlify-alternative"},{"title":"Self-hosted alternative to Cloud Run for steady workloads","href":"/cloud-run-alternative"},{"title":"Self-host Next.js on your own server with TLS and rollback","href":"/self-host-nextjs"}]},{"group":"Design proposals","pages":[{"title":"IAM: what exists and what the authoring tools add","href":"/iam-design"}]}]},{"tab":"Self-host gallery","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/squares-four.svg","pages":[{"title":"Self-host gallery","href":"/self-host"}]},{"tab":"Appendix","icon":"https://mintlify.s3.us-west-1.amazonaws.com/levelrail/assets/icons/books.svg","pages":[{"title":"Appendix","href":"/roadmap"}]}]},"basePath":"","title":"Cloudflare Tunnel - Levelrail","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}