<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Known Developer</title>
    <description>The latest articles on DEV Community by Known Developer (@known_developer).</description>
    <link>https://dev.to/known_developer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4238286%2F2d46b615-4b9a-484a-bdca-cb440a2e5062.png</url>
      <title>DEV Community: Known Developer</title>
      <link>https://dev.to/known_developer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/known_developer"/>
    <language>en</language>
    <item>
      <title>My ISP would not give me a public IP, so I stopped asking for one</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Sun, 22 Nov 2026 17:50:00 +0000</pubDate>
      <link>https://dev.to/known_developer/my-isp-would-not-give-me-a-public-ip-so-i-stopped-asking-for-one-3dof</link>
      <guid>https://dev.to/known_developer/my-isp-would-not-give-me-a-public-ip-so-i-stopped-asking-for-one-3dof</guid>
      <description>&lt;h1&gt;
  
  
  My ISP would not give me a public IP, so I stopped asking for one
&lt;/h1&gt;

&lt;p&gt;I once spent an evening forwarding port 443 on a home router, only to find the router's "WAN address" was a private range. My provider shared one public IPv4 address between many customers. No port forward on my side could ever work, because the traffic never reached my router. That setup is called carrier-grade NAT, or CGNAT, and it is common on home and mobile connections.&lt;/p&gt;

&lt;p&gt;The usual answer is a tunnel: a small program on your server dials out to a provider, and visitors come in through the provider. Levelrail, the self-hosted deploy platform I work on, can run a Cloudflare Tunnel connector for you. This post covers what I could verify and what I could not, because the honest answer on that second part matters for your decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Answer&lt;/th&gt;
&lt;th&gt;Verified how&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Need an open inbound port?&lt;/td&gt;
&lt;td&gt;No, the connector dials out&lt;/td&gt;
&lt;td&gt;Cloudflare docs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Does Levelrail run the connector?&lt;/td&gt;
&lt;td&gt;Yes, one &lt;code&gt;cloudflared&lt;/code&gt; container&lt;/td&gt;
&lt;td&gt;I ran it locally&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Did a real tunnel carry traffic?&lt;/td&gt;
&lt;td&gt;Not tested by me&lt;/td&gt;
&lt;td&gt;No Cloudflare account used&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is the feature finished?&lt;/td&gt;
&lt;td&gt;The docs call it experimental&lt;/td&gt;
&lt;td&gt;Levelrail docs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Do I still need a certificate?&lt;/td&gt;
&lt;td&gt;Yes, use DNS-01&lt;/td&gt;
&lt;td&gt;Levelrail docs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What I did not test, up front
&lt;/h2&gt;

&lt;p&gt;I did not create a Cloudflare tunnel, did not route a hostname through one and did not load a page over one. A real tunnel needs a token from a Cloudflare account, and I did not use one. The Levelrail docs say the same about themselves: the feature is built and covered by reconciler and API unit tests, but has not been proven on a real host with a real Cloudflare account. Everything about live traffic below comes from the docs, not from me.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a tunnel gets around CGNAT
&lt;/h2&gt;

&lt;p&gt;Cloudflare describes its tunnel as an outbound-only connection model, and says it connects resources without a publicly routable IP address. &amp;lt;!-- source: &lt;a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/" rel="noopener noreferrer"&gt;https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/&lt;/a&gt; --&amp;gt; Its guidance for firewalls is to allow only those outbound connections and block inbound traffic. That is exactly what CGNAT permits: your server can reach out, and nobody can reach in.&lt;/p&gt;

&lt;p&gt;Public hostnames are routed on Cloudflare's side. In the Zero Trust dashboard you add a published application, pick a subdomain and domain, and set a service URL that the connector can reach. &amp;lt;!-- source: &lt;a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/" rel="noopener noreferrer"&gt;https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/&lt;/a&gt; --&amp;gt; The domain must already be on Cloudflare, and the application is publicly reachable until you add an Access policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Levelrail adds
&lt;/h2&gt;

&lt;p&gt;Levelrail starts one container named &lt;code&gt;&amp;lt;brand&amp;gt;-cloudflared&lt;/code&gt; from &lt;code&gt;cloudflare/cloudflared&lt;/code&gt;, running &lt;code&gt;tunnel --no-autoupdate run&lt;/code&gt;, and passes your tunnel token as the &lt;code&gt;TUNNEL_TOKEN&lt;/code&gt; environment variable. The token is stored encrypted and is never returned by the API or CLI (&lt;code&gt;docs/cloudflare-tunnel.md&lt;/code&gt;). Levelrail does not configure Cloudflare for you. The hostname-to-service mapping is yours to set in their dashboard.&lt;/p&gt;

&lt;p&gt;The commands, once you have a real token:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli cloudflare-tunnel &lt;span class="nb"&gt;set&lt;/span&gt; --cf-tunnel-token TOKEN
levelrail-cli cloudflare-tunnel get
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The feature is off by default and has to be switched on first. I did it with the &lt;code&gt;APP_EXPERIMENTAL=cloudflare-tunnel&lt;/code&gt; seed on a local dev instance, and the docs also describe a dashboard switch in Settings.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I ran, with a fake token
&lt;/h2&gt;

&lt;p&gt;To see the reconciler work without an account, I gave it a deliberately invalid token on a throwaway local control plane (a build of the v1.0.1 release branch, on a Mac with Docker). The container appeared, pinned to &lt;code&gt;cloudflare/cloudflared:2026.10.7&lt;/code&gt;, with the command &lt;code&gt;tunnel --no-autoupdate run&lt;/code&gt;, no host port bindings, and restart policy &lt;code&gt;no&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ levelrail-cli cloudflare-tunnel get
enabled:   true
has_token: true
status:    connected

$ docker logs Levelrail-cloudflared
Provided Tunnel token is not valid.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Two things stand out. First, no inbound port was published, which matches the pitch. Second, the status said &lt;code&gt;connected&lt;/code&gt; while the container had already exited with the invalid-token error. That is the documented behavior: &lt;code&gt;connected&lt;/code&gt; reports that the local container is running, not Cloudflare's view of the tunnel, so you confirm health in the Zero Trust dashboard too (&lt;code&gt;docs/cloudflare-tunnel.md&lt;/code&gt;). In my run it was a stale reading of a container that was crash-exiting. I would not alert on that field alone.&lt;/p&gt;

&lt;p&gt;I then ran &lt;code&gt;levelrail-cli cloudflare-tunnel disconnect&lt;/code&gt;, which deletes the stored token and removes the container, and confirmed no &lt;code&gt;cloudflared&lt;/code&gt; container was left on the machine.&lt;/p&gt;
&lt;h2&gt;
  
  
  The part people forget: certificates
&lt;/h2&gt;

&lt;p&gt;A tunnel solves reachability. Your certificate is a separate problem. Behind CGNAT the HTTP-01 check cannot reach port 80, so the certificate request fails. Levelrail's docs suggest DNS-01, where the certificate authority checks a TXT record in your zone, written through your DNS provider's API (&lt;code&gt;docs/tutorials/dns-01-behind-cgnat.md&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli domains cloudflare-dns &lt;span class="nb"&gt;set&lt;/span&gt; --cf-api-token TOKEN
levelrail-cli settings ingress dns01 &lt;span class="nb"&gt;enable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The same tutorial states that DNS-01 for single hosts is not yet verified against a real certificate authority, and marks it as a pending run. I did not run it either. If your tunnel terminates TLS at Cloudflare and sends plain HTTP to a local service, you may not need an origin certificate for that path at all. That is a Cloudflare configuration choice, and I did not test it.&lt;/p&gt;
&lt;h2&gt;
  
  
  Scope: the control plane, not necessarily your apps
&lt;/h2&gt;

&lt;p&gt;The Levelrail docs say the built-in tunnel setting covers the control plane, and that for app traffic you should look at the proxy in front of apps or another route. They also describe pointing a Cloudflare public hostname at your Levelrail ingress address, which is how you would expose apps. I did not verify that path end to end, so check it on a test hostname before you tell anyone the URL.&lt;/p&gt;
&lt;h2&gt;
  
  
  Other ways in, and where each wins
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Needs an open port&lt;/th&gt;
&lt;th&gt;Where it wins&lt;/th&gt;
&lt;th&gt;Where it loses&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Cloudflare Tunnel&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Free to start, no VPS to run, Cloudflare handles the edge&lt;/td&gt;
&lt;td&gt;Traffic goes through a third party, domain must be on Cloudflare&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Public IPv6&lt;/td&gt;
&lt;td&gt;Yes, firewall allow&lt;/td&gt;
&lt;td&gt;Direct, nothing in the middle&lt;/td&gt;
&lt;td&gt;Only if your ISP gives you IPv6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Small VPS as a relay&lt;/td&gt;
&lt;td&gt;On the VPS&lt;/td&gt;
&lt;td&gt;You control the whole path&lt;/td&gt;
&lt;td&gt;You pay for and patch another server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Run behind the orange cloud only&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Caching and WAF&lt;/td&gt;
&lt;td&gt;Needs a reachable origin, so no use behind CGNAT&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is from Levelrail's own page on running behind Cloudflare, which says the proxy does not make your server unreachable and needs the origin to be reachable (&lt;code&gt;docs/behind-cloudflare.md&lt;/code&gt;). That is a different tool from a tunnel.&lt;/p&gt;
&lt;h2&gt;
  
  
  A private way to reach a service
&lt;/h2&gt;

&lt;p&gt;One related command I did not need a tunnel provider for: &lt;code&gt;levelrail-cli apps tunnel web --port 9000&lt;/code&gt; opens a loopback port on your laptop and relays through the control plane to a container port that is not published. It is for admin ports, not public traffic (&lt;code&gt;docs/app-tunnel.md&lt;/code&gt;). I read this page but did not run it for this post.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Can I self-host behind CGNAT with no port forwarding?
&lt;/h3&gt;

&lt;p&gt;Yes, with an outbound-only tunnel, according to Cloudflare's docs. What I proved is the Levelrail side: the connector container starts with no published ports. I did not prove live traffic.&lt;/p&gt;
&lt;h3&gt;
  
  
  Does the tunnel hide my server's address?
&lt;/h3&gt;

&lt;p&gt;For proxied or tunneled hostnames, public DNS answers with a Cloudflare address. Levelrail's own page warns that mail records, direct subdomains and old DNS history can still reveal a server address (&lt;code&gt;docs/behind-cloudflare.md&lt;/code&gt;).&lt;/p&gt;
&lt;h3&gt;
  
  
  What if the tunnel token leaks?
&lt;/h3&gt;

&lt;p&gt;The docs say anyone holding it can run a connector for your tunnel. Rotate it in Cloudflare, then run &lt;code&gt;set --cf-tunnel-token NEW&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I would do next
&lt;/h2&gt;

&lt;p&gt;I would create a real tunnel on a test domain, record the hostname that works end to end, and only then write the version of this post that says it works. Until that run exists, I would call this setup plausible and well documented, not proven. If you have run the Levelrail tunnel against a real account, what broke first?&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/" rel="noopener noreferrer"&gt;https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/&lt;/a&gt; (outbound-only model, no publicly routable IP, block inbound)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/" rel="noopener noreferrer"&gt;https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/get-started/create-remote-tunnel/&lt;/a&gt; (published application routing, Access policies)&lt;/li&gt;
&lt;li&gt;Levelrail docs on the v1.0.1 release branch: &lt;code&gt;docs/cloudflare-tunnel.md&lt;/code&gt;, &lt;code&gt;docs/behind-cloudflare.md&lt;/code&gt;, &lt;code&gt;docs/app-tunnel.md&lt;/code&gt;, &lt;code&gt;docs/tutorials/dns-01-behind-cgnat.md&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Levelrail code: the tunnel reconciler (image pin, command and token handling), read on the same branch&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>selfhosted</category>
      <category>cloudflare</category>
      <category>homelab</category>
      <category>devops</category>
    </item>
    <item>
      <title>I built a lightweight Coolify-style PaaS: one Go binary, ~200 MB idle, no Postgres to babysit</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Fri, 20 Nov 2026 17:48:00 +0000</pubDate>
      <link>https://dev.to/known_developer/i-built-a-lightweight-coolify-style-paas-one-go-binary-200-mb-idle-no-postgres-to-babysit-4acp</link>
      <guid>https://dev.to/known_developer/i-built-a-lightweight-coolify-style-paas-one-go-binary-200-mb-idle-no-postgres-to-babysit-4acp</guid>
      <description>&lt;h1&gt;
  
  
  I built a lightweight Coolify-style PaaS: one Go binary, ~200 MB idle, no Postgres to babysit
&lt;/h1&gt;

&lt;p&gt;The moment that started this was a small one. I had a 2 GB VPS running a deploy platform and one side project, and the platform used more memory than the project. I was paying for the tool that deploys my app more than for the app.&lt;/p&gt;

&lt;p&gt;That is not a knock on any tool. A web app with its own database, cache and proxy is a normal way to build a PaaS. I wanted to see what it looked like with fewer parts. I built Levelrail, an open source (Apache 2.0) deploy platform for your own servers: one Go binary with SQLite inside. This post is what I chose, what it costs, what I measured, and where Coolify is still the better choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Short answer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What is it&lt;/td&gt;
&lt;td&gt;One control plane binary, SQLite in WAL mode, embedded Caddy ingress and dashboard&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Idle footprint&lt;/td&gt;
&lt;td&gt;About 200 MB resident on a 2 vCPU, 8 GB test box, no apps under load (docs/benchmarks.md)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How it reaches other servers&lt;/td&gt;
&lt;td&gt;A small agent dials out to the control plane over mutual TLS, no inbound port on the node&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where Coolify wins&lt;/td&gt;
&lt;td&gt;Maturity, the size of its community, a wide one-click service catalog, nothing to install on managed servers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where I am honest&lt;/td&gt;
&lt;td&gt;Single node is the best tested path, and I have not measured Coolify's idle memory&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What "no Postgres to babysit" means
&lt;/h2&gt;

&lt;p&gt;Coolify's installer sets up a main application container, a PostgreSQL container named &lt;code&gt;coolify-db&lt;/code&gt; and a Redis container named &lt;code&gt;coolify-redis&lt;/code&gt;. &amp;lt;!-- source: &lt;a href="https://coolify.io/docs/get-started/installation" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/installation&lt;/a&gt; --&amp;gt; That design makes sense. It also gives your platform its own database to back up, upgrade and watch.&lt;/p&gt;

&lt;p&gt;Levelrail keeps desired state, settings, deploy history, audit rows and encrypted secrets in a SQLite file in its data directory, with separate SQLite files for telemetry and alerting to keep their writes away from the main one. Container state is not copied anywhere. Docker is the source of truth for what is running.&lt;/p&gt;

&lt;p&gt;The trade is real. SQLite is one writer and many readers, so the control plane is a single process on a single host. For a solo developer or a small team that is fine. For a platform team that wants an external HA database, it is the wrong shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  The footprint, with the box named
&lt;/h2&gt;

&lt;p&gt;The README says about 200 MB idle. Here is where that comes from. The benchmarks page records a live instance on a 2 vCPU, 8 GB test box with all features at defaults and no apps under load: idle RSS 200 MB, peak 253 MB, 273 goroutines, 1.5 percent CPU. A separate run inside a Linux container on Docker Desktop recorded 212 MB resident at zero apps and 216 MB at five stopped apps.&lt;/p&gt;

&lt;p&gt;I also ran the current build for this article on my own Apple M4 Max laptop, started with &lt;code&gt;levelrail-cli dev&lt;/code&gt;. Resident memory sat near 200 MB shortly after boot and dropped to about 90 MB eight minutes later, after the runtime returned boot-time garbage to the OS. That machine was busy with other work and I took two readings, so read it as a rough range, not a benchmark.&lt;/p&gt;

&lt;p&gt;Two caveats from the performance page matter. The runs use dev builds, and the docs show no bare-metal or cloud VM run yet. Real running apps add probe and metrics load that the idle numbers do not include. I did not measure Coolify's memory use at all. Its docs list 2 cores, 2 GB RAM and 10 GB of disk for the server, and say smaller servers work but are not recommended. &amp;lt;!-- source: &lt;a href="https://coolify.io/docs/get-started/installation" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/installation&lt;/a&gt; --&amp;gt; That figure covers the whole server, so it says nothing about the platform's own share, and I will not pretend it does.&lt;/p&gt;

&lt;h2&gt;
  
  
  An agent that dials out, instead of SSH
&lt;/h2&gt;

&lt;p&gt;Coolify manages each server over SSH from the control plane. &amp;lt;!-- source: &lt;a href="https://coolify.io/docs/get-started/introduction" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/introduction&lt;/a&gt; --&amp;gt; The upside is real: it works with any server you can log into, with nothing extra installed beyond Docker.&lt;/p&gt;

&lt;p&gt;Levelrail runs a node agent instead. It dials out to the control plane over gRPC with mutual TLS and talks to the Docker Engine API directly, so nothing shells out to the &lt;code&gt;docker&lt;/code&gt; CLI and managed servers need no inbound port. A new server joins with a single-use token that expires after 15 minutes by default.&lt;/p&gt;

&lt;p&gt;The cost is a second binary to run on every extra node. Multi-server is also the less proven path: the docs say single node is where most of the testing happened, and I know of checks for the add-a-node flow only against a real local Docker daemon, not across real cloud providers.&lt;/p&gt;

&lt;h2&gt;
  
  
  One deploy that fails safely
&lt;/h2&gt;

&lt;p&gt;A lightweight platform still has to do the boring part right. Here is a throwaway test I ran on a local instance. I pushed a Dockerfile app, then pushed a second version that reports unhealthy on &lt;code&gt;/healthz&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps health &lt;span class="nb"&gt;set&lt;/span&gt; my-app --probe readiness --path /healthz --interval 5s
&lt;span class="c"&gt;# push the commit, then watch deploy history&lt;/span&gt;
levelrail-cli apps deploys list my-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The second version built, started and never became ready. The deploy was recorded as failed with the reason &lt;code&gt;ReadinessFailed&lt;/code&gt; and the message &lt;code&gt;readiness probe: never became ready (context deadline exceeded), last attempt: GET /healthz returned 500, expected 200-299&lt;/code&gt;. Meanwhile I requested the app every 3 seconds for the whole window and got 200 from the old version each time.&lt;/p&gt;

&lt;p&gt;Getting back to an older release is one command:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps deploys rollback-to my-app &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;DEPLOY_ID&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I ran it against the first good deploy and the app went back to serving the old version. Levelrail pins previous images so cleanup cannot remove a rollback target. This ran on my laptop against a local Docker daemon, so there was no DNS, no public TLS and no real network between the pieces.&lt;/p&gt;
&lt;h2&gt;
  
  
  Side by side
&lt;/h2&gt;

&lt;p&gt;This is architecture, not a ranking. Coolify is the older and larger project.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Coolify&lt;/th&gt;
&lt;th&gt;Levelrail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Server management&lt;/td&gt;
&lt;td&gt;SSH from the control plane&lt;/td&gt;
&lt;td&gt;Agent dials out over mTLS, Docker Engine API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Platform state&lt;/td&gt;
&lt;td&gt;A PostgreSQL container plus Redis&lt;/td&gt;
&lt;td&gt;SQLite files in one data directory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Runs as&lt;/td&gt;
&lt;td&gt;A web application with its own database&lt;/td&gt;
&lt;td&gt;One control plane binary, one agent binary per extra node&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ingress&lt;/td&gt;
&lt;td&gt;Traefik, Caddy also offered&lt;/td&gt;
&lt;td&gt;Caddy embedded in the control plane&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maturity and community&lt;/td&gt;
&lt;td&gt;Established, large catalog&lt;/td&gt;
&lt;td&gt;Smaller community and catalog, active development&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Third-party servers&lt;/td&gt;
&lt;td&gt;Any server you can reach over SSH&lt;/td&gt;
&lt;td&gt;Needs the agent installed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Where Coolify is the better pick
&lt;/h2&gt;

&lt;p&gt;If Coolify already does what you need and your team knows it, stay. It has been around longer, more people have hit its edge cases, and its one-click catalog of maintained Compose templates is large. &amp;lt;!-- source: &lt;a href="https://coolify.io/docs/get-started/introduction" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/introduction&lt;/a&gt; --&amp;gt; Levelrail ships a catalog too, but the end-to-end suite deploys a sample, not every entry, and I would not claim parity.&lt;/p&gt;

&lt;p&gt;Coolify also wins when you want to manage servers you cannot or will not install anything on. SSH only is a genuinely simpler story.&lt;/p&gt;

&lt;p&gt;If you are thinking of switching, the importer reads a Coolify instance through its API and changes nothing there. Databases and volumes come across empty, so you copy the data yourself. Start with a dry run:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli import platform coolify --url &lt;span class="s2"&gt;"$COOLIFY_URL"&lt;/span&gt; --dry-run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I did not run the importer for this article, because I have no Coolify instance to point it at. That line comes from the Levelrail docs.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Is Levelrail a drop-in replacement for Coolify?
&lt;/h3&gt;

&lt;p&gt;No. The job is the same, deploying apps and databases to your own servers, but the design differs. The importer helps with the move, and the migration guide lists what maps and what does not.&lt;/p&gt;
&lt;h3&gt;
  
  
  Do I need more than one server?
&lt;/h3&gt;

&lt;p&gt;No. One server is the best tested path. Extra servers join with a one-time token and a small agent.&lt;/p&gt;
&lt;h3&gt;
  
  
  How do I deploy by pushing code?
&lt;/h3&gt;

&lt;p&gt;Connect GitHub, GitLab, Bitbucket or Gitea and pushes to the branch build and deploy through webhooks. A native git push remote on your own server also exists, but it is off by default and you switch it on in Settings.&lt;/p&gt;
&lt;h3&gt;
  
  
  Is it free?
&lt;/h3&gt;

&lt;p&gt;Yes. It is Apache 2.0, one edition, with no license key.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I would watch
&lt;/h2&gt;

&lt;p&gt;The number I care about is not the idle footprint. It is how the same figure looks on a plain 2 GB Linux VPS with ten real apps running, because that is the box this was built for. I have the method to measure it and not yet a published result. If you try it on a small server, I would like to hear what your numbers say.&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://coolify.io/docs/get-started/introduction" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/introduction&lt;/a&gt; (SSH management, deploy sources, ready-made Compose templates)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://coolify.io/docs/get-started/installation" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/installation&lt;/a&gt; (server requirements, &lt;code&gt;coolify-db&lt;/code&gt; PostgreSQL and &lt;code&gt;coolify-redis&lt;/code&gt; containers)&lt;/li&gt;
&lt;li&gt;Levelrail repo, release/v1.0.1: docs/performance.md, docs/benchmarks.md, docs/comparison.md, docs/coolify-alternative.md, docs/architecture.md, docs/deploying-apps.md, docs/git-integrations.md, README.md&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>opensource</category>
      <category>go</category>
    </item>
    <item>
      <title>I turned my whole server into a YAML file, and every change gets a diff first</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Tue, 17 Nov 2026 17:47:00 +0000</pubDate>
      <link>https://dev.to/known_developer/i-turned-my-whole-server-into-a-yaml-file-and-every-change-gets-a-diff-first-gpp</link>
      <guid>https://dev.to/known_developer/i-turned-my-whole-server-into-a-yaml-file-and-every-change-gets-a-diff-first-gpp</guid>
      <description>&lt;h1&gt;
  
  
  I turned my whole server into a YAML file, and every change gets a diff first
&lt;/h1&gt;

&lt;p&gt;Last month I added a domain to an app at midnight, clicked through three dashboard pages, and could not tell the next morning which of my changes had caused a restart. The server worked. I just had no record of why it looked the way it did.&lt;/p&gt;

&lt;p&gt;I tried the other way: write down what the server should look like, ask the control plane what would change, and only then apply it. Levelrail calls this platform as code. Here is what I ran, with the real output, on a throwaway local instance.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;What you get&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Preview&lt;/td&gt;
&lt;td&gt;&lt;code&gt;levelrail-cli apply -f infra/ --dry-run --exit-code&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A field level plan, exit code 2 if anything would change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Apply&lt;/td&gt;
&lt;td&gt;&lt;code&gt;levelrail-cli apply -f infra/ --source infra-repo --yes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Resources created in dependency order&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Check drift&lt;/td&gt;
&lt;td&gt;&lt;code&gt;levelrail-cli diff -f infra/ --source infra-repo&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exit code 2 when live state differs from the files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capture&lt;/td&gt;
&lt;td&gt;&lt;code&gt;levelrail-cli export --project shop -o infra/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Existing projects and apps written as YAML&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One caveat up front. The docs label this feature experimental, and it ships off. You turn it on with &lt;code&gt;APP_EXPERIMENTAL=iac&lt;/code&gt; on the control plane and in the shell where you run the CLI. I used that flag for everything below.&lt;/p&gt;

&lt;h2&gt;
  
  
  The files
&lt;/h2&gt;

&lt;p&gt;A file holds one or more YAML documents separated by &lt;code&gt;---&lt;/code&gt;. Each has &lt;code&gt;version: 1&lt;/code&gt;, a &lt;code&gt;kind&lt;/code&gt; (Project, Environment, Tag, Database, App, Domain, LoadBalancer, Pipeline or AlertRule), a name and a spec. This is the whole file I used, a project with an environment, a Postgres database and one app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Project&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;name:&lt;/span&gt; &lt;span class="s"&gt;w2f-shop&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Environment&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;name:&lt;/span&gt; &lt;span class="s"&gt;production&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;project&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;w2f-shop&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Database&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;name:&lt;/span&gt; &lt;span class="s"&gt;w2f-main-db&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;engine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;postgres&lt;/span&gt;
  &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"16"&lt;/span&gt;
  &lt;span class="na"&gt;project&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;w2f-shop&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;App&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;name:&lt;/span&gt; &lt;span class="s"&gt;w2f-web&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;project&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;w2f-shop&lt;/span&gt;
  &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;production&lt;/span&gt;
  &lt;span class="na"&gt;service&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;build&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;type:&lt;/span&gt; &lt;span class="s"&gt;image&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;image:&lt;/span&gt; &lt;span class="s2"&gt;"traefik/whoami:v1.10.3"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;
    &lt;span class="na"&gt;domains&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;w2f-web.localhost&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;LOG_LEVEL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;info&lt;/span&gt;
      &lt;span class="na"&gt;DATABASE_URL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;from:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;database:&lt;/span&gt; &lt;span class="s"&gt;w2f-main-db&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;field:&lt;/span&gt; &lt;span class="s"&gt;url&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Two details are worth knowing. The &lt;code&gt;DATABASE_URL&lt;/code&gt; line is a reference, not a value. The docs say apply never reads the connection string, so the file, the plan and the stored revisions only ever hold &lt;code&gt;w2f-main-db.url&lt;/code&gt;. And documents never contain secret values: the CLI rejects a literal on a key that looks like a password or token, and you point at a secret by name with &lt;code&gt;secretRef&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Apply manages apps that run a prebuilt image. For git builds, use a git source instead of these files.&lt;/p&gt;
&lt;h2&gt;
  
  
  1. The dry run
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apply -f infra/ --source infra-repo --dry-run --exit-code
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This is the real output from my run:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Plan: 4 to create, 0 to update, 0 to delete, 0 unchanged

+ Project/w2f-shop  (infra/shop.yaml:1)
+ Environment/w2f-shop/production  (infra/shop.yaml:5)
+ Database/w2f-main-db  (infra/shop.yaml:11)
    + engine: postgres
    + project: w2f-shop
    + version: 16
+ App/w2f-web  (infra/shop.yaml:19)
    + bindAddress: private
    + connections.DATABASE_URL: w2f-main-db.url
    + domains[w2f-web.localhost]: w2f-web.localhost
    + env.LOG_LEVEL: (hidden)
    + image: traefik/whoami:v1.10.3
    + port: 80
    ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The exit code was 2, which the docs define as "changes are pending". Zero means nothing to do, and 1 means an error such as invalid files or an unreachable server. That is the whole contract a CI job needs.&lt;/p&gt;

&lt;p&gt;The CLI validates everything before it plans anything. If one document has an issue, it plans and applies nothing. Errors carry a file and line. The plan lists the database because the app references it, and databases always go in before apps.&lt;/p&gt;
&lt;h2&gt;
  
  
  2. Apply
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apply -f infra/ --source infra-repo --yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;applied  Project/w2f-shop
applied  Environment/w2f-shop/production
applied  Database/w2f-main-db
applied  App/w2f-web

4 applied, 0 failed, 0 skipped
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I then curled the app through the local ingress with its Host header and got the whoami container's reply. A second &lt;code&gt;diff&lt;/code&gt; printed &lt;code&gt;0 to create, 0 to update, 0 to delete, 4 unchanged&lt;/code&gt; and exited 0. The &lt;code&gt;--source&lt;/code&gt; flag matters later: it tags what the files created (&lt;code&gt;managed-by:infra-repo&lt;/code&gt;) so that pruning can find only those apps.&lt;/p&gt;
&lt;h2&gt;
  
  
  3. A change, and the diff before it lands
&lt;/h2&gt;

&lt;p&gt;I edited the file: a second domain, a memory and CPU limit, and a different &lt;code&gt;LOG_LEVEL&lt;/code&gt;. Then I asked what that would do:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli diff -f infra/ --source infra-repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Plan: 0 to create, 0 to update, 0 to delete, 3 unchanged

~ App/w2f-web  (infra/shop.yaml:19)
    + domains[shop.localhost]: shop.localhost
    ~ env.LOG_LEVEL: (hidden) -&amp;gt; (hidden)
    + resources.cpu: 0.25
    + resources.memory: 128Mi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Exit 2 again. Env values print as &lt;code&gt;(hidden)&lt;/code&gt; on purpose, so you see that a variable changed but never its value. In a pull request review that is a fair tradeoff, and you read the file for the actual value.&lt;/p&gt;

&lt;p&gt;This is the moment I wanted at midnight. One app, four fields, nothing else touched. I applied it, and the next &lt;code&gt;diff&lt;/code&gt; was clean.&lt;/p&gt;
&lt;h2&gt;
  
  
  4. Drift
&lt;/h2&gt;

&lt;p&gt;Then I did the thing I used to do by accident. I scaled the app by hand:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps scale w2f-web --replicas 2
levelrail-cli diff -f infra/ --source infra-repo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~ App/w2f-web  (infra/shop.yaml:19)
    ~ replicas: 2 -&amp;gt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The plan says live is 2 and the files say 1, exit code 2. The docs suggest running &lt;code&gt;diff&lt;/code&gt; on a schedule to catch hand edits. That gives you a cron job that fails when someone has clicked something.&lt;/p&gt;

&lt;p&gt;One thing to keep in mind from the docs. Lists and maps on an app (domains, tags, env, labels) are additive, so the plan keeps entries the files do not mention and shows them as &lt;code&gt;keep&lt;/code&gt;. Everything else on a declared resource is authoritative.&lt;/p&gt;
&lt;h2&gt;
  
  
  5. From CI
&lt;/h2&gt;

&lt;p&gt;The docs describe a Git workflow with no sync engine to run. The files live in a repository, the pull request shows the plan, and the merge applies it. I did not run this in GitHub Actions, so treat it as the documented shape and not something I tested. The plan job only needs a read token:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Plan&lt;/span&gt;
  &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;APP_API_URL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.LEVELRAIL_API_URL }}&lt;/span&gt;
    &lt;span class="na"&gt;APP_API_TOKEN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.LEVELRAIL_READ_TOKEN }}&lt;/span&gt;
  &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;levelrail-cli apply -f infra/ --source infra-repo --dry-run --exit-code || [ $? -eq 2 ]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The apply job on &lt;code&gt;push&lt;/code&gt; to main uses a separate write token and &lt;code&gt;--yes&lt;/code&gt;. The &lt;code&gt;|| [ $? -eq 2 ]&lt;/code&gt; is there because exit code 2 means "changes pending", which on a pull request is normal, not a failure.&lt;/p&gt;

&lt;p&gt;The plan also carries a hash. The CLI, dashboard and MCP pass it back so an apply only proceeds if live state still matches the plan you reviewed. That makes "reviewed plan, then apply" mean something.&lt;/p&gt;
&lt;h2&gt;
  
  
  How it compares to the other ways I managed this
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Record of changes&lt;/th&gt;
&lt;th&gt;Preview before change&lt;/th&gt;
&lt;th&gt;Catches hand edits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dashboard clicks&lt;/td&gt;
&lt;td&gt;Whatever the audit trail shows&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shell script of CLI calls&lt;/td&gt;
&lt;td&gt;The script, if you keep it&lt;/td&gt;
&lt;td&gt;Only if you write one&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;apply&lt;/code&gt; on YAML files&lt;/td&gt;
&lt;td&gt;Git history&lt;/td&gt;
&lt;td&gt;Yes, a field level plan&lt;/td&gt;
&lt;td&gt;Yes, with &lt;code&gt;diff&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The honest limits, taken from the docs: backup schedules, egress policies, node placement, registry credentials and vault env references have no YAML form yet. A live app that uses them keeps them when you apply, and the plan warns. Databases get extra care: apply refuses to change engine or version, because databases hold data.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Do I need Kubernetes or a separate GitOps controller for this?
&lt;/h3&gt;

&lt;p&gt;No. It goes through the ordinary REST API with your own token, and the CLI computes and runs the plan. No operator runs in a cluster.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I start from an existing server instead of writing YAML?
&lt;/h3&gt;

&lt;p&gt;The docs describe &lt;code&gt;levelrail-cli export --project shop -o infra/&lt;/code&gt;, which writes projects and apps as documents and is stable enough that export, apply, export gives identical files. I did not run export on my throwaway instance, so I am relaying the docs here, not my own test.&lt;/p&gt;
&lt;h3&gt;
  
  
  Will &lt;code&gt;--prune&lt;/code&gt; delete things I made by hand?
&lt;/h3&gt;

&lt;p&gt;Per the docs, prune requires &lt;code&gt;--source NAME&lt;/code&gt; and only deletes apps carrying that source's tag. Projects, environments, databases, pipelines and alert rules are never pruned.&lt;/p&gt;
&lt;h3&gt;
  
  
  Is there an API beyond the CLI?
&lt;/h3&gt;

&lt;p&gt;Yes. The docs describe a server-side apply route for apps and databases (&lt;code&gt;PATCH /api/v2/apps/{name}&lt;/code&gt; with a field manager and a dry run option) so more than one tool can own different fields. I only read that page.&lt;/p&gt;
&lt;h2&gt;
  
  
  The bottom line
&lt;/h2&gt;

&lt;p&gt;The feature is small: write YAML, get a plan, get an exit code. What it changed for me is that every change to the server has a diff in front of it, and drift has a command that fails. The next thing I want to measure is how long a pull request plan takes against a server with 30 apps.&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;p&gt;Levelrail docs and code, read at the v1.0.1 release branch: &lt;code&gt;docs/platform-as-code.md&lt;/code&gt;, &lt;code&gt;docs/server-side-apply.md&lt;/code&gt;, &lt;code&gt;docs/local-development.md&lt;/code&gt;, &lt;code&gt;docs/cli-reference.md&lt;/code&gt;. All command output above is from a local instance I started with &lt;code&gt;levelrail-cli dev&lt;/code&gt;, built from that branch.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>docker</category>
      <category>cicd</category>
    </item>
    <item>
      <title>I approved a production deploy from a chat button, then approved my own request</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Tue, 17 Nov 2026 17:35:00 +0000</pubDate>
      <link>https://dev.to/known_developer/i-approved-a-production-deploy-from-a-chat-button-then-approved-my-own-request-dgo</link>
      <guid>https://dev.to/known_developer/i-approved-a-production-deploy-from-a-chat-button-then-approved-my-own-request-dgo</guid>
      <description>&lt;h1&gt;
  
  
  I approved a production deploy from a chat button, then approved my own request
&lt;/h1&gt;

&lt;p&gt;A teammate pings you at 18:50. The fix is ready, production needs a second pair of eyes, and you are on a train with a phone and no laptop. The dashboard works on mobile, but the real question is whether the approval can come to you, as a button in the chat you already have open.&lt;/p&gt;

&lt;p&gt;Levelrail, the open source self-hosted platform I work on, has exactly that: Approve and Deny buttons on a Slack or Discord message. I tested it, and the result is more useful for what it showed than for the happy path. I will say plainly which parts I ran, which parts only ever ran against fakes, and where the feature can approve your own request.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Answer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Which chat platforms get buttons?&lt;/td&gt;
&lt;td&gt;Slack and Discord only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Do other channels (Telegram, Teams, ntfy and so on) get buttons?&lt;/td&gt;
&lt;td&gt;No, they get plain notifications&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Did I test against a real Slack or Discord?&lt;/td&gt;
&lt;td&gt;No. I sent signed requests to a real local control plane&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What decides the approval?&lt;/td&gt;
&lt;td&gt;The channel, not a person. Anyone who can click in that channel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Can the requester approve their own deploy by chat?&lt;/td&gt;
&lt;td&gt;Yes. The docs say so, and my run confirmed it&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What the feature is
&lt;/h2&gt;

&lt;p&gt;A protected environment, such as production, makes a deploy or promotion wait for approval. A different user must approve it, and the person or token that requested it cannot. The usual place to do that is the dashboard's Approvals queue, or the CLI.&lt;/p&gt;

&lt;p&gt;Chat approvals add buttons to the message Levelrail already sends to a notification channel when a request comes in. It adds to an existing channel. You connect a Slack or Discord channel the normal way, then turn on interactive approval buttons for that channel. It is off by default. Only a caller with the &lt;code&gt;root&lt;/code&gt; ability can turn it on, change the secret or change the webhook URL of a channel that has it on.&lt;/p&gt;

&lt;p&gt;Per the docs, setup differs by platform:&lt;/p&gt;

&lt;p&gt;Slack. The incoming webhook must belong to a Slack app with Interactivity turned on. You set the Request URL to &lt;code&gt;/api/v1/webhooks/slack/interactions&lt;/code&gt; on your Levelrail host and paste the app's signing secret into the channel. Levelrail checks an HMAC-SHA256 signature on every click.&lt;/p&gt;

&lt;p&gt;Discord. You set the app's Interactions Endpoint URL to &lt;code&gt;/api/v1/webhooks/discord/interactions&lt;/code&gt; on your Levelrail host and paste the app's public key into the channel first, because Discord pings the URL when you save it. Verification is Ed25519.&lt;/p&gt;

&lt;p&gt;Neither route takes a session or API token, because neither platform can send one. The signature is the authentication.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I ran
&lt;/h2&gt;

&lt;p&gt;I did not create a Slack app. I ran a real throwaway control plane on my laptop, created a protected environment, a Slack-kind channel with interactive approvals on, and an app inside that environment. The channel setup has no CLI flag today, so I created it through the API. Then I deployed with the CLI and checked the pending approval:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps deploy shop --image localhost:42301/w2c-web:1 --confirm
levelrail-cli deploy-approvals list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;deploy of "shop" to image "localhost:42301/w2c-web:1" is pending approval (id apr_XPHz83HNN8cv)
the target environment is protected: a different, sufficiently privileged user must approve it before it deploys.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;First, the guard that should hold. Approving as the same token that requested it:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;approve deploy approval "apr_XPHz83HNN8cv": server returned 403: the same user or token that requested this deploy cannot approve or reject it; a different privileged user must decide
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Good. Then I played Slack myself. Slack posts a form body with a &lt;code&gt;payload&lt;/code&gt; field and signs &lt;code&gt;v0:&amp;lt;timestamp&amp;gt;:&amp;lt;body&amp;gt;&lt;/code&gt; with the signing secret. Anyone with &lt;code&gt;openssl&lt;/code&gt; and &lt;code&gt;curl&lt;/code&gt; can reproduce a click:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# LR_URL is your control plane address, SECRET the channel signing secret&lt;/span&gt;
&lt;span class="nv"&gt;BODY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"payload=$ENCODED_JSON"&lt;/span&gt;        &lt;span class="c"&gt;# block_actions JSON with action_id and the approval id&lt;/span&gt;
&lt;span class="nv"&gt;TS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;date +%s&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;SIG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"v0=$(printf 'v0:%s:%s' "&lt;/span&gt;&lt;span class="nv"&gt;$TS&lt;/span&gt;&lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="nv"&gt;$BODY&lt;/span&gt;&lt;span class="s2"&gt;" | openssl dgst -sha256 -hmac "&lt;/span&gt;&lt;span class="nv"&gt;$SECRET&lt;/span&gt;&lt;span class="s2"&gt;" | sed 's/^.* //')"&lt;/span&gt;
curl -s -X POST &lt;span class="s2"&gt;"$LR_URL/api/v1/webhooks/slack/interactions"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"X-Slack-Request-Timestamp: $TS"&lt;/span&gt; -H &lt;span class="s2"&gt;"X-Slack-Signature: $SIG"&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'Content-Type: application/x-www-form-urlencoded'&lt;/span&gt; -d &lt;span class="s2"&gt;"$BODY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Three results, in order:&lt;/p&gt;

&lt;p&gt;A click signed with the wrong secret returned HTTP 401 &lt;code&gt;invalid signature&lt;/code&gt;, and the approval stayed &lt;code&gt;pending&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A click signed with the right secret returned 200 and a reply for the chat message:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Approved by Slack:team-slack (clicked by alice). shop now targets localhost:42301/w2c-web:1.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;code&gt;deploy-approvals get&lt;/code&gt; then showed &lt;code&gt;status: approved&lt;/code&gt; and &lt;code&gt;decided by: Slack:team-slack (clicked by alice)&lt;/code&gt;. The app's desired state moved to the new image, and a new deploy row appeared.&lt;/p&gt;

&lt;p&gt;Sending the same click again returned &lt;code&gt;deploy approval ... is no longer pending (status: approved)&lt;/code&gt;. A replay cannot decide twice.&lt;/p&gt;

&lt;p&gt;Now the catch. My CLI token requested the deploy, and a chat click approved it. The self-approval check that blocked my CLI attempt did not stop the click, because the click is not a person. The docs say this directly: a verified click counts as the channel, the clicker's name gets noted but grants nothing, and anyone in that channel, including the requester, can approve.&lt;/p&gt;
&lt;h2&gt;
  
  
  How well each piece is tested
&lt;/h2&gt;

&lt;p&gt;This is the part to read before you rely on it. I checked the repo's own status page and the tests.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Piece&lt;/th&gt;
&lt;th&gt;Evidence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dashboard and CLI deploy approvals&lt;/td&gt;
&lt;td&gt;Live end-to-end test: two sessions, same-user approval rejected, container untouched until a different user approves. Marked stable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chat approval click handlers (Slack and Discord)&lt;/td&gt;
&lt;td&gt;Handler tests that sign requests locally: approve, deny, wrong signature, replay, Discord ping. No end-to-end test, and I found no row for it on the status page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slack and Discord message delivery with buttons&lt;/td&gt;
&lt;td&gt;Unit tests cover the payload shapes. I found no record of buttons rendering in a real Slack or Discord workspace, and I did not see them either&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Webhook and email channels&lt;/td&gt;
&lt;td&gt;Live tests against a local receiver and a local SMTP server. Marked stable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The 15 vendor channel kinds, Slack and Discord among them&lt;/td&gt;
&lt;td&gt;End-to-end tests against local fakes that check each vendor's documented payload and auth header. No real vendor has accepted a send, per the status page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Requiring N approvers&lt;/td&gt;
&lt;td&gt;Unit tested. The N-approver rule has no end-to-end test&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My own run adds one live data point: the control plane did try to deliver the approval message to the Slack URL I gave it. That URL was a fake webhook path on the real Slack host, and the channel's delivery history shows &lt;code&gt;deploy-approval-requested  failed  receiver returned status 404&lt;/code&gt;. So the send path runs and records its result. It tells you nothing about how the buttons look. I should not have let a fake token reach a real host, and I removed the channel right after.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where this is a good idea, and where it is not
&lt;/h2&gt;

&lt;p&gt;If your approvers are a small team in one private channel, a button on a phone beats a login. The channel is your trust boundary, and for a handful of people who already trust each other, that is a fair deal.&lt;/p&gt;

&lt;p&gt;Skip it when you need separation of duties. The docs say it plainly: for approvals that need true separation, approve only from the dashboard or the CLI, and leave interactive buttons off on every channel. There is no global switch, so it is a per-channel decision to audit. I would also keep the channel small. A channel that includes a bot, a contractor or a client is now a production approval surface.&lt;/p&gt;

&lt;p&gt;Telegram, Teams, ntfy, Pushover and the rest can notify you that a request is waiting. None of them carry approve buttons. For those, you get the message, then open the dashboard or run &lt;code&gt;levelrail-cli deploy-approvals approve &amp;lt;id&amp;gt;&lt;/code&gt; as a different user.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Does this work with Microsoft Teams, Telegram or Mattermost?
&lt;/h3&gt;

&lt;p&gt;Not for buttons. Teams, Telegram and Mattermost are notification kinds only. The code returns an "unsupported" error for any kind other than Slack or Discord.&lt;/p&gt;
&lt;h3&gt;
  
  
  Is the click tied to a Levelrail user?
&lt;/h3&gt;

&lt;p&gt;No. Levelrail keeps no link between a Slack or Discord user and a Levelrail account. The decision counts as the channel's, with the clicker's chat name noted for visibility.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I turn it on from the CLI?
&lt;/h3&gt;

&lt;p&gt;Not today. &lt;code&gt;levelrail-cli channels create&lt;/code&gt; has no flag for it, so use the dashboard channel dialog or the API fields &lt;code&gt;interactive_approvals&lt;/code&gt; and &lt;code&gt;interactive_secret&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can a forged request approve a deploy?
&lt;/h3&gt;

&lt;p&gt;Every request is signature-verified against the channel's own secret first, and a bad signature changes nothing. My wrong-secret test returned 401 and left the approval pending. Treat the signing secret like a deploy credential.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where I landed
&lt;/h2&gt;

&lt;p&gt;Chat approval is a convenience layer on a gate that is itself well tested, and the convenience layer is the less proven half. Before I use it for anything that matters, I want one real Slack workspace to accept a real message with real buttons. Would you accept a channel as the approver, or does your process need a named person on every production deploy?&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Levelrail docs on the v1.0.1 release branch: docs/chat-deploy-approvals.md (setup, endpoints, identity scope warning, root requirement), docs/feature-status.md (deploy approvals stable, notification channels, vendor kinds tested against fakes, required approvers), docs/cli-reference.md (channels and deploy-approvals commands, supported kinds), docs/environments.md (protected environments)&lt;/li&gt;
&lt;li&gt;Levelrail code: internal/alerting/chat_approval.go (Slack and Discord payloads, unsupported error for other kinds), internal/api/chat_interactions_test.go (handler tests), internal/api/notification_channels.go (interactive_approvals and interactive_secret fields)&lt;/li&gt;
&lt;li&gt;Local run on 2026-11-11 on a laptop with a local control plane build from 10 November 2026&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devops</category>
      <category>slack</category>
      <category>selfhosted</category>
      <category>security</category>
    </item>
    <item>
      <title>My nightly backup job had been green for months. I never restored it once.</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Sun, 15 Nov 2026 17:42:00 +0000</pubDate>
      <link>https://dev.to/known_developer/my-nightly-backup-job-had-been-green-for-months-i-never-restored-it-once-bme</link>
      <guid>https://dev.to/known_developer/my-nightly-backup-job-had-been-green-for-months-i-never-restored-it-once-bme</guid>
      <description>&lt;h1&gt;
  
  
  My nightly backup job had been green for months. I never restored it once.
&lt;/h1&gt;

&lt;p&gt;Last week I looked at a cron job of mine that had printed "backup ok" every night for months, and I asked myself a plain question: when did I last load one of those files into a database? I could not remember a date. A green job tells you a file was written. It does not tell you the file works.&lt;/p&gt;

&lt;p&gt;I built a small test and ran it end to end. I created a Postgres database, backed it up on a schedule, changed the live data afterwards, restored the backup into a separate database, and compared row counts. I used Levelrail, the self-hosted deploy platform I work on, built from the v1.0.1 release branch (commit &lt;code&gt;d510e8488&lt;/code&gt;). Everything below ran on my Mac with Docker, and I mark the parts I only read in the docs.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;What it proves&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Schedule&lt;/td&gt;
&lt;td&gt;&lt;code&gt;backups schedule set&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A backup runs without you&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Restore as new&lt;/td&gt;
&lt;td&gt;&lt;code&gt;backups restore-as-new&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The backup loads into a fresh database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compare&lt;/td&gt;
&lt;td&gt;&lt;code&gt;databases query&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Counts match the moment of the backup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Drill&lt;/td&gt;
&lt;td&gt;&lt;code&gt;backups drill run&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Checksum, restore and content check pass&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Copy&lt;/td&gt;
&lt;td&gt;&lt;code&gt;backups destinations copy set&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A second bucket holds the same object (docs only)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The test setup
&lt;/h2&gt;

&lt;p&gt;I made a Postgres 16 database with two tables: 500 customers and 2000 orders. Then I recorded three numbers I could check later.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli databases create --name main --engine postgres --version 16
levelrail-cli databases query main --sql &lt;span class="s2"&gt;"select (select count(*) from customers) as customers, (select count(*) from orders) as orders, (select sum(total_cents) from orders) as total_cents"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;customers  orders  total_cents
500        2000    8805000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I pick a sum on top of the counts because two tables with the right row count can still hold the wrong values.&lt;/p&gt;
&lt;h2&gt;
  
  
  Schedule it and take one now
&lt;/h2&gt;

&lt;p&gt;A backup target is the place the files go. Levelrail has a &lt;code&gt;local&lt;/code&gt; type that needs no bucket, which is fine for a first run but lives on the same disk as the database, so it is no protection against losing the machine. I used it first, then switched to an S3-compatible target, which I get to below.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli backup-targets create --name nightly --provider &lt;span class="kd"&gt;local&lt;/span&gt; --path nightly
levelrail-cli backups schedule &lt;span class="nb"&gt;set&lt;/span&gt; main --target TARGET_ID --cron &lt;span class="s2"&gt;"0 3 * * *"&lt;/span&gt; --retain 7 --retain-days 30
levelrail-cli backups trigger main --target TARGET_ID
levelrail-cli backups list main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The list printed a &lt;code&gt;succeeded&lt;/code&gt; row of about 11.8 KB, finished in the same second it started. Retention combines two limits: keep at most the newest 7 backups, and nothing older than 30 days. A backup goes when either rule would remove it (&lt;code&gt;docs/guides/self-host-postgres-with-backups.md&lt;/code&gt;).&lt;/p&gt;
&lt;h2&gt;
  
  
  Break the live data, then restore the old state
&lt;/h2&gt;

&lt;p&gt;This is the step that makes the test mean something. After the backup, I deleted 500 orders from the live database, the way a bad migration or a wrong &lt;code&gt;DELETE&lt;/code&gt; would.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli databases query main --write --confirm main --sql &lt;span class="s2"&gt;"delete from orders where id &amp;gt; 1500"&lt;/span&gt;
levelrail-cli backups restore-as-new main --backup BACKUP_ID --new-name main-restore
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Restoring as new builds a separate database next to the original and never touches it. The new container was up in under a minute. Then I ran the same count query against both.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;live
customers  orders  total_cents
500        1500    6597750

restored
customers  orders  total_cents
500        2000    8805000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The restored database has the numbers from before the delete, to the cent, and the live one has the damage. That is the output I wanted from a backup, and I had never produced it from my cron job.&lt;/p&gt;

&lt;p&gt;An in-place restore also exists. It overwrites the live database and asks you to type the database name, so I would use restore-as-new first and only then decide.&lt;/p&gt;
&lt;h2&gt;
  
  
  What a restore drill adds
&lt;/h2&gt;

&lt;p&gt;A manual rehearsal is good once. A drill is the same idea on a timer. For Postgres, MySQL and MariaDB, Levelrail downloads the stored backup, compares its SHA-256 with the checksum recorded at backup time, replays it into a throwaway container with no network, checks the result, and deletes the container whether it passed or failed (&lt;code&gt;docs/prove-your-backups-work.md&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;My first drill attempt failed, and the reason is worth knowing:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;start drill of backup "bkh_...": server returned 409: restore drills are not applicable to local targets
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Drills need an object-store target. So I started a throwaway S3-compatible server (SeaweedFS, in a container) and connected it as a custom target. The docs say a storage destination on the same host is refused unless you set &lt;code&gt;APP_NOTIFY_ALLOW_PRIVATE_NETWORKS=true&lt;/code&gt; on the control plane. Despite the name, that one switch also gates storage destinations, so I set it only on my laptop test.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli backup-targets create --name s3test --provider custom --region us-east-1 \
  --endpoint S3_ENDPOINT --bucket backups \
  --access-key-id KEY --secret-access-key SECRET
levelrail-cli backups trigger main --target S3_TARGET_ID
levelrail-cli backups drill run --backup BACKUP_ID
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;drill bkd...: passed (stage done, 5513 ms)
  object present and complete: true
  checksum matches:            true
  restored into scratch:       true
  restored content matches:    true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;After that, &lt;code&gt;levelrail-cli backups health&lt;/code&gt; moved the database from &lt;code&gt;unverified (no restore has been proven to work yet)&lt;/code&gt; to &lt;code&gt;healthy&lt;/code&gt; with a "last verified restore" timestamp. By default every resource with a succeeded backup is drilled once a week, and a failed drill fires a &lt;code&gt;restore_drill_failed&lt;/code&gt; alert rule, which you create under Alerts. I did not wait a week for the automatic run, so that part is from the docs.&lt;/p&gt;
&lt;h2&gt;
  
  
  Off-box copies
&lt;/h2&gt;

&lt;p&gt;One bucket is still one failure domain. Levelrail can copy each finished backup to a second destination, check the copy against the primary's checksum, and alert when the copy falls behind (&lt;code&gt;docs/backup-copies.md&lt;/code&gt;). You turn it on with one command:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli backups destinations copy &lt;span class="nb"&gt;set&lt;/span&gt; SECOND_TARGET_ID
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I only ran &lt;code&gt;copy show&lt;/code&gt;, which printed &lt;code&gt;backup copies: off&lt;/code&gt;. I did not test the copy path, so treat that section as documentation, not as my result. Two details from the docs matter. Only backups that finish after you enable it are copied, and restores always read from the primary destination.&lt;/p&gt;
&lt;h2&gt;
  
  
  Three things I would not skip
&lt;/h2&gt;

&lt;p&gt;Back up the master key. Secrets stored by the platform are encrypted with it, and the control plane's own backups do not contain it (&lt;code&gt;docs/control-plane-backup.md&lt;/code&gt;). Keep a copy somewhere that is not the server.&lt;/p&gt;

&lt;p&gt;Back up the control plane too, not just your databases. Its snapshots live on the same disk by default, so read the disaster recovery page for the off-box path.&lt;/p&gt;

&lt;p&gt;Bind mounts are not backed up. Only Docker-managed named volumes are (&lt;code&gt;docs/guides/self-host-postgres-with-backups.md&lt;/code&gt;).&lt;/p&gt;
&lt;h2&gt;
  
  
  How this compares
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Proves the file exists&lt;/th&gt;
&lt;th&gt;Proves it loads&lt;/th&gt;
&lt;th&gt;Runs on a schedule by itself&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;pg_dump&lt;/code&gt; in cron&lt;/td&gt;
&lt;td&gt;Only if you add a check&lt;/td&gt;
&lt;td&gt;Only if you write the restore step&lt;/td&gt;
&lt;td&gt;Cron runs the dump, not a restore&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manual restore rehearsal&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;No, someone has to remember&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Levelrail drill&lt;/td&gt;
&lt;td&gt;Yes (size and checksum)&lt;/td&gt;
&lt;td&gt;Yes (Postgres, MySQL, MariaDB)&lt;/td&gt;
&lt;td&gt;Yes, weekly by default&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The drill is not magic. For engines other than those three it checks the object, not a replay. Object lock and versioning detection depends on the storage provider answering those calls. And my row-count check is a stronger test of my own data than any generic drill, so I would still run it by hand after big schema changes.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  How often should I test a restore?
&lt;/h3&gt;

&lt;p&gt;Weekly is the default drill interval in Levelrail and it is a sensible floor. Do a manual restore-as-new after any major version upgrade or schema change.&lt;/p&gt;
&lt;h3&gt;
  
  
  Does restore-as-new touch my live database?
&lt;/h3&gt;

&lt;p&gt;No. It creates a separate database from the backup. I confirmed this above: the live database kept its 1500 orders while the copy showed 2000.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I use Cloudflare R2 or AWS S3?
&lt;/h3&gt;

&lt;p&gt;The CLI accepts &lt;code&gt;aws&lt;/code&gt;, &lt;code&gt;r2&lt;/code&gt; and &lt;code&gt;custom&lt;/code&gt; providers (&lt;code&gt;docs/backups-and-storage.md&lt;/code&gt;). I ran my test against a local S3-compatible server, not against R2 or S3.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where this leaves me
&lt;/h2&gt;

&lt;p&gt;My cron job now has a replacement that I have actually watched restore a database. The number I keep thinking about is 6597750 against 8805000: the cost of finding out too late.&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;p&gt;Levelrail docs read from the v1.0.1 release branch: &lt;code&gt;docs/prove-your-backups-work.md&lt;/code&gt;, &lt;code&gt;docs/guides/self-host-postgres-with-backups.md&lt;/code&gt;, &lt;code&gt;docs/backup-copies.md&lt;/code&gt;, &lt;code&gt;docs/backups-and-storage.md&lt;/code&gt;, &lt;code&gt;docs/control-plane-backup.md&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>selfhosted</category>
      <category>devops</category>
      <category>backup</category>
    </item>
    <item>
      <title>I shipped a broken release on purpose: canary deploys and auto rollback on my own server</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Sun, 15 Nov 2026 05:38:00 +0000</pubDate>
      <link>https://dev.to/known_developer/i-shipped-a-broken-release-on-purpose-canary-deploys-and-auto-rollback-on-my-own-server-29ke</link>
      <guid>https://dev.to/known_developer/i-shipped-a-broken-release-on-purpose-canary-deploys-and-auto-rollback-on-my-own-server-29ke</guid>
      <description>&lt;h1&gt;
  
  
  I shipped a broken release on purpose: canary deploys and auto rollback on my own server
&lt;/h1&gt;

&lt;p&gt;At 16:40 on a Friday I had a one line change. I stared at the deploy button for a full minute. Nothing in the diff was scary. What scared me was that if I was wrong, every visitor would see it at once, and I would find out from an angry message instead of from a graph.&lt;/p&gt;

&lt;p&gt;That fear has a simple cause. A normal deploy is all or nothing: the new version either takes 100% of traffic or none. I tested the alternatives on purpose. I built a small app, made version 2 answer every page with a 500, and shipped it two ways: as a staged canary and as a plain deploy. I used Levelrail, the open source self-hosted platform I work on, so weigh the tool choice accordingly. The behavior is the part worth stealing.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scenario&lt;/th&gt;
&lt;th&gt;What I did&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Canary of a broken image&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;apps canary start&lt;/code&gt; with stages 10, 50, 100&lt;/td&gt;
&lt;td&gt;rolled back on its own, 60 of 1000 requests failed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Canary of a good image&lt;/td&gt;
&lt;td&gt;same command&lt;/td&gt;
&lt;td&gt;passed both stages, promoted itself&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Plain deploy of the same broken image&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;apps deploy&lt;/code&gt;, auto rollback left on default&lt;/td&gt;
&lt;td&gt;rolled back in about 37 seconds, 490 of 1200 requests failed under heavy load&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deploy policy&lt;/td&gt;
&lt;td&gt;registry allow list set to enforce&lt;/td&gt;
&lt;td&gt;deploy refused with a 422 and a fix hint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Where the box ran
&lt;/h2&gt;

&lt;p&gt;Everything here ran on my laptop against a throwaway local Levelrail instance, not a rented VPS. The control plane and CLI were a local build from 10 November 2026, and I read the docs from the v1.0.1 release branch. Containers ran in OrbStack, and images came from a local registry container. Load was a shell loop of curl calls, about 13 requests a second. Treat the timings as a shape, not a benchmark.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test app
&lt;/h2&gt;

&lt;p&gt;A Node server of 10 lines. Every version answers &lt;code&gt;/healthz&lt;/code&gt; with 200. Version 1 and 3 answer &lt;code&gt;/&lt;/code&gt; with their name. Version 2 answers &lt;code&gt;/&lt;/code&gt; with a 500.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;VERSION&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;broken&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;BROKEN&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createServer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"/healthz"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;end&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;broken&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;statusCode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;end&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"v"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s2"&gt;" exploded"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;end&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"shop v"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;listen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This matters because the broken version is healthy by every start-up check. The process runs, the port accepts connections, the health route says ok. That is the kind of bug that slips through: it only fails for real requests.&lt;/p&gt;

&lt;p&gt;One gotcha cost me time. A canary needs an image that comes from a registry. My first attempt used an image that only existed in the local Docker daemon, and Levelrail refused with &lt;code&gt;built from source, canary supports image apps&lt;/code&gt;. Pushing the three tags to a local registry container fixed it. A normal server pulling from a real registry never hits this.&lt;/p&gt;
&lt;h2&gt;
  
  
  Canary deploys: let 10% find the bug
&lt;/h2&gt;

&lt;p&gt;A canary runs the new image next to the current one and sends it a share of requests. Levelrail splits per request, not per user, using a repeating cycle of 100 requests, so a weight of 10 sends 10 of every 100 to the canary. A canary that is not ready gets no traffic.&lt;/p&gt;

&lt;p&gt;The staged form does the babysitting for you:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps canary start w2c-shop \
  --image localhost:42301/w2c-web:2 --stages 10,50,100 --interval 20s
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I used a short interval so the test would finish. The docs default is 5 minutes per stage. Each stage compares the canary's 5xx rate and p95 latency against the stable release over the same window. It needs at least 30 canary requests before it judges anything, and it never promotes a canary it has not observed.&lt;/p&gt;

&lt;p&gt;Here is &lt;code&gt;canary status&lt;/code&gt; while my loop ran against the broken image:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stage:   1 of 3 ([10 50 100])
canary:  50 requests, 100.0% errors, p95 47 ms
stable:  460 requests, 0.0% errors, p95 79 ms
next:    error rate 100.0% vs 0.0% on the stable release (limit +2.0 points)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The next status call said &lt;code&gt;no canary is running&lt;/code&gt;, and &lt;code&gt;last canary: rolled_back&lt;/code&gt; with the same reason. Of the 1000 requests in that loop, 60 returned a 500, every one from the canary, before it left. The rest came from the stable release, and the page kept saying &lt;code&gt;shop v1&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That is the whole pitch of a canary in one number: 6% of requests saw the bug, instead of 100%.&lt;/p&gt;

&lt;p&gt;Then I ran the same command with a good version 3. Stage 1 passed once it had enough traffic, stage 2 passed, and the status ended with &lt;code&gt;last canary: promoted ... canary auto promote&lt;/code&gt;. Promotion goes through the normal deploy path, so the readiness gate and rollback pinning still apply. When I stopped sending traffic mid-test, the canary just waited at &lt;code&gt;waiting for traffic (0 of 30 requests)&lt;/code&gt;. It does not promote on silence.&lt;/p&gt;
&lt;h3&gt;
  
  
  The limits worth knowing
&lt;/h3&gt;

&lt;p&gt;The docs list them and I hit one myself. One canary per app. Image apps only, with a single replica and no pinned host port. The canary has its own container but shares your database, so if the bug writes bad rows, a canary writes them too. A canary protects you from crashes and error spikes. It does not protect you from a migration.&lt;/p&gt;
&lt;h2&gt;
  
  
  The deploy nobody canaried
&lt;/h2&gt;

&lt;p&gt;You will still push a plain deploy sometimes, at 17:00, from your phone. So I deployed the broken image straight onto the stable app, with no canary.&lt;/p&gt;

&lt;p&gt;The readiness gate passed it. My app had no health check declared, so Levelrail fell back to a TCP connect on the port, and the broken server accepts connections. This is where the post-deploy watch comes in. For the first 5 minutes after cutover (default) it checks every 10 seconds for OOM kills, restart loops and a 5xx share above 20% once 20 requests have arrived. The default mode is &lt;code&gt;auto&lt;/code&gt;, which means it rolls back by itself.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps watch get w2c-shop
levelrail-cli apps deploy w2c-shop --image localhost:42301/w2c-web:2
levelrail-cli deploy status w2c-shop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;About 37 seconds after I started the deploy, a new deploy row appeared with &lt;code&gt;reason: AutoRolledBack&lt;/code&gt;, the app was serving version 3 again, and the failed one carried the reason &lt;code&gt;PostDeployErrorRate&lt;/code&gt;. The audit log and the deploy's gate timeline record it too, according to the docs.&lt;/p&gt;

&lt;p&gt;During those 37 seconds my loop sent hundreds of requests, and 490 of 1200 failed. A canary would have kept that number near 60. Auto rollback caps how long the bug lives, and it needs nobody awake. It does not cap how many people hit it.&lt;/p&gt;

&lt;p&gt;Two details I read but did not test: the watch also has a soft latency signal that only alerts unless you opt in to rolling back on it, and the repo's own status page lists that latency signal as unit tested only. The hard signals (5xx spike, crash loop) have live tests on a real Docker engine.&lt;/p&gt;
&lt;h2&gt;
  
  
  Deploy policies: refuse the bad deploy first
&lt;/h2&gt;

&lt;p&gt;Canaries and rollbacks help after the fact. A policy refuses a deploy that breaks your own rules. Rules apply at organization, project or environment scope, each one is &lt;code&gt;enforce&lt;/code&gt;, &lt;code&gt;warn&lt;/code&gt; or &lt;code&gt;off&lt;/code&gt;, and the most specific scope wins. The rules include an allowed registry list, a required readiness probe, memory and CPU ceilings, a replica cap and required labels.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli policy &lt;span class="nb"&gt;set&lt;/span&gt; org \
  --rule &lt;span class="nv"&gt;allowed_registries&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;enforce:ghcr.io \
  --rule &lt;span class="nv"&gt;require_readiness_probe&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;enforce
levelrail-cli policy check --fail
levelrail-cli apps deploy w2c-shop --image localhost:42301/w2c-web:1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;code&gt;policy check&lt;/code&gt; is a dry run. The dry run said the app would fail and exited with code 3, so it can sit in a CI step. The deploy itself came back as a 422:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;image registry "localhost:42301" is not on the allowed list. Push the image to one of: ghcr.io, or add the registry to the policy.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The docs say rollbacks skip policy, so restoring a known state is never blocked, and a root caller can override with a recorded reason. I did not test the override. I cleared the policy afterwards.&lt;/p&gt;
&lt;h2&gt;
  
  
  Comparing the three safety nets
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Net&lt;/th&gt;
&lt;th&gt;What it catches&lt;/th&gt;
&lt;th&gt;User impact in my run&lt;/th&gt;
&lt;th&gt;Use it when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Readiness gate (default)&lt;/td&gt;
&lt;td&gt;app that never starts or never listens&lt;/td&gt;
&lt;td&gt;none, old version keeps serving&lt;/td&gt;
&lt;td&gt;every deploy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Staged canary&lt;/td&gt;
&lt;td&gt;errors and slow responses on real traffic&lt;/td&gt;
&lt;td&gt;60 failed requests of 1000&lt;/td&gt;
&lt;td&gt;risky changes with steady traffic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Post-deploy watch&lt;/td&gt;
&lt;td&gt;crash loops, OOM kills, 5xx spikes after cutover&lt;/td&gt;
&lt;td&gt;490 failed of 1200 under heavy load, about 37 seconds&lt;/td&gt;
&lt;td&gt;everything else, as the backstop&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A canary needs traffic to judge anything, so on a site with two visits an hour, a 5 minute stage will sit and wait. The watch has the same need for its 20 request minimum. For tiny sites, a good health check and a hand check beat both.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Do canary deploys work on a single server?
&lt;/h3&gt;

&lt;p&gt;Yes. The canary is a second container of the same app on the same machine, with traffic split by the ingress. In my run that was one laptop.&lt;/p&gt;
&lt;h3&gt;
  
  
  Does auto rollback undo a database migration?
&lt;/h3&gt;

&lt;p&gt;No. It redeploys the last good image and its config. Data stays as it is. Plan schema changes so the old version can still read the new schema.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I set canary defaults per app?
&lt;/h3&gt;

&lt;p&gt;Yes. Defaults come from &lt;code&gt;APP_CANARY_*&lt;/code&gt; environment variables on the control plane, and an app can override them in its spec. This block is from the docs and I did not run it:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;web&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;myorg/web:1&lt;/span&gt;
    &lt;span class="na"&gt;strategy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;canary&lt;/span&gt;
    &lt;span class="na"&gt;canary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;stages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
      &lt;span class="na"&gt;interval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;10m&lt;/span&gt;
      &lt;span class="na"&gt;max_error_rate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.01&lt;/span&gt;
      &lt;span class="na"&gt;max_p95_ratio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.3&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That block only saves the policy. The stable app still deploys blue-green, and a canary starts when you start one.&lt;/p&gt;
&lt;h3&gt;
  
  
  What happens if the control plane restarts mid-canary?
&lt;/h3&gt;

&lt;p&gt;The docs say the state lives in the database and a reconciler picks it up again, so a restart reopens the current stage's observation window. I did not restart it during a canary.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where I landed
&lt;/h2&gt;

&lt;p&gt;The fear was never about the diff. It was about not knowing how many people would see a mistake before I did. A canary turns that into a number you pick, and a watch puts a ceiling on the time. What percentage of traffic would you let a first look at your next release?&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Levelrail docs on the v1.0.1 release branch: docs/canary-deploys.md (staged canaries, limits, defaults, per-app spec), docs/deploy-safety.md (readiness gate, post-deploy watch defaults, auto rollback), docs/deploy-policies.md (rules, 422, override, rollbacks skip policy), docs/feature-status.md (post-deploy watch stable for hard signals, latency signal unit tested only)&lt;/li&gt;
&lt;li&gt;Local runs on 2026-11-10 and 2026-11-11 described above, on a laptop with OrbStack&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devops</category>
      <category>docker</category>
      <category>selfhosted</category>
      <category>deployment</category>
    </item>
    <item>
      <title>My VPS bill is one number. Here is what each app on it actually costs</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Thu, 12 Nov 2026 17:34:00 +0000</pubDate>
      <link>https://dev.to/known_developer/my-vps-bill-is-one-number-here-is-what-each-app-on-it-actually-costs-38pe</link>
      <guid>https://dev.to/known_developer/my-vps-bill-is-one-number-here-is-what-each-app-on-it-actually-costs-38pe</guid>
      <description>&lt;h1&gt;
  
  
  My VPS bill is one number. Here is what each app on it actually costs
&lt;/h1&gt;

&lt;p&gt;My server bill arrives as one line. Six dollars a month, four apps, and a Postgres database I forgot about. When I wondered which app was costing me the most, I had no answer, because the bill does not know about apps.&lt;/p&gt;

&lt;p&gt;Levelrail has two features that attack this from different sides. One splits your real server bill across the apps by measured usage. The other estimates what an app would cost on typical metered cloud pricing. I ran both on a throwaway local instance. This post covers exactly what each computes, what I saw, and where the numbers stop being trustworthy.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What does each app cost me on my server?&lt;/td&gt;
&lt;td&gt;Usage and cost&lt;/td&gt;
&lt;td&gt;Your monthly bill, vCPUs, memory, measured usage&lt;/td&gt;
&lt;td&gt;Per app, project, environment and team cost, plus idle capacity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What would this app cost elsewhere?&lt;/td&gt;
&lt;td&gt;Cost estimate&lt;/td&gt;
&lt;td&gt;The app's CPU and memory&lt;/td&gt;
&lt;td&gt;Three reference prices per month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Am I on track this month?&lt;/td&gt;
&lt;td&gt;Cost explorer&lt;/td&gt;
&lt;td&gt;The same daily snapshots&lt;/td&gt;
&lt;td&gt;Trend, forecast and budgets&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Both are showback, not billing. Levelrail pulls nothing from a cloud provider and sends no invoice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Splitting the bill by usage
&lt;/h2&gt;

&lt;p&gt;You enter what each server costs per month, with its vCPUs and memory. Levelrail divides the bill by the days in the month, and each app gets a share of the day by how much of the server it used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;share = cpu_weight * (cores used / server vCPUs) + (1 - cpu_weight) * (memory used / server memory)
app cost for the day = daily bill * share
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;code&gt;cpu_weight&lt;/code&gt; defaults to 50 percent. Whatever no app used is idle capacity. By default it shows as Unallocated, so you can see how much of the bill nobody used. If the apps together use more than the server, Levelrail scales their shares down so the total never exceeds the bill.&lt;/p&gt;

&lt;p&gt;Here is the setup I ran, with a made up bill that matches a small VPS:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli usage settings &lt;span class="nb"&gt;set&lt;/span&gt; --mode node --node &lt;span class="nv"&gt;local&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;6:2:4 --reprice-month
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The &lt;code&gt;--node&lt;/code&gt; value is &lt;code&gt;NAME=MONTHLY[:VCPUS[:GIB]]&lt;/code&gt;, so this says a node called &lt;code&gt;local&lt;/code&gt; costs 6 a month and has 2 vCPUs and 4 GiB. The &lt;code&gt;--reprice-month&lt;/code&gt; flag applies the new prices to the month so far. Without it, past days keep the prices they had when recorded, so a price change never quietly rewrites last month.&lt;/p&gt;

&lt;p&gt;Then I asked for the report:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli usage report --period mtd --by resource
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Period: 2026-11-01 to 2026-11-11 (node)
Total: 2.04 USD (- vs previous period)
Unallocated (idle capacity): 2.04 USD
Forecast month end: 6.00 USD

RESOURCE              COST  PREVIOUS  CHANGE
database:w2f-main-db  0.00  0.00      -
app:w2f-web           0.00  0.00      -
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I should be plain about what that shows. My instance had two idle containers, a whoami web app and an empty Postgres, and they had run for five minutes. Their measured usage rounds to zero cents, so the whole 2.04 is idle capacity. The forecast of 6.00 is the full monthly bill, which is the right answer for a server doing nothing. The report fits a quiet server. It tells you nothing about load. I did not generate load.&lt;/p&gt;
&lt;h2&gt;
  
  
  A worked example you can check
&lt;/h2&gt;

&lt;p&gt;Since my test box was idle, here is the arithmetic from the docs formula, not a measured result. Take the same 6 per month server with 2 vCPUs and 4 GiB. November has 30 days, so the daily bill is 6 / 30 = 0.20. Say an app averages 0.5 cores and 1 GiB for the day:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;share = 0.5 * (0.5 / 2) + 0.5 * (1 / 4) = 0.125 + 0.125 = 0.25
app cost for the day = 0.20 * 0.25 = 0.05
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That app costs 0.05 a day, about 1.50 a month at that usage. The other 75 percent of the day's bill is Unallocated. That is why the method helps on a small server: it shows the idle share, which a per app invoice would hide.&lt;/p&gt;

&lt;p&gt;Two settings change the picture. The idle spread, a percent from 0 to 100, distributes idle capacity over apps by usage, so the report adds up to the whole bill. I set it to 100 and repriced:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli usage settings &lt;span class="nb"&gt;set&lt;/span&gt; --idle-spread-pct 100 --reprice-month
levelrail-cli usage report --period mtd --csv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The CSV then showed small idle shares on the database and the app (0.0313 and 0.0063 for the current day), while the earlier days stayed Unallocated, because nothing had logged usage on them. The docs say history starts when recording starts.&lt;/p&gt;
&lt;h2&gt;
  
  
  What counts as usage
&lt;/h2&gt;

&lt;p&gt;The collector already keeps the metrics behind this, sampled every 15 seconds. For each day Levelrail records the average and the median (p50) CPU and memory, plus how many seconds the container was reporting. A stopped container accrues nothing, so downtime costs nothing. You choose in the prices dialog whether allocation uses the average or the p50.&lt;/p&gt;

&lt;p&gt;You can also price storage per GiB per month and egress per GiB. Storage counts the app's local named volumes at the moment the day was recorded, and only volumes on the control plane's own Docker daemon count.&lt;/p&gt;

&lt;p&gt;If you have no single bill to split, the other mode takes a price per vCPU hour and per GiB of memory hour, and an app costs &lt;code&gt;cores * hours * cpu price + GiB * hours * memory price&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  The other number: what would this cost elsewhere
&lt;/h2&gt;

&lt;p&gt;The cost estimate is a different tool, and people over-read it, so the docs say plainly: an estimate, not a real bill. It never calls a live pricing API. For one app:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli apps cost w2f-web
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I had declared &lt;code&gt;resources: { memory: 128Mi, cpu: 0.25 }&lt;/code&gt; for the app, and this is what came back:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;size: 0.25 vCPU (declared), 0.12 GiB memory (declared)

  Generic cloud VM                 $4.00/mo (provider minimum)
    cpu $1.00 + memory $0.50
  Generic managed VM               $10.00/mo (provider minimum)
    cpu $2.00 + memory $0.75
  Generic metered container PaaS   $7.50/mo
    cpu $6.25 + memory $1.25
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The size comes from the declared limit first. With no limit, it uses the p95 of CPU and memory over the last 7 days. With neither, you get a response priced at each profile's floor, and the basis fields say there is nothing real behind the number.&lt;/p&gt;

&lt;p&gt;The formula per profile is &lt;code&gt;max(cpu_cost + memory_cost, floor)&lt;/code&gt;, using three built in rate profiles:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Profile&lt;/th&gt;
&lt;th&gt;Represents&lt;/th&gt;
&lt;th&gt;$/vCPU/month&lt;/th&gt;
&lt;th&gt;$/GiB/month&lt;/th&gt;
&lt;th&gt;Floor/month&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;vm&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A bare unmanaged cloud VM&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;managed_vm&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A managed VM with backups and support bundled&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;paas&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Metered container PaaS pricing&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The docs say these are round numbers and not any provider's rate card, and I checked the arithmetic against my output: 0.25 * 25 = 6.25 and 0.125 * 10 = 1.25, which gives 7.50. The 0.25 vCPU and 0.125 GiB on the &lt;code&gt;vm&lt;/code&gt; profile come to 1.50, under the 4 floor, so the floor applied. The formula has no discounts, sustained use pricing, egress or storage costs. Correct the rates with &lt;code&gt;APP_COST_ESTIMATE_&amp;lt;KEY&amp;gt;_CPU_USD&lt;/code&gt;, &lt;code&gt;..._MEMORY_USD&lt;/code&gt; and &lt;code&gt;..._MINIMUM_USD&lt;/code&gt;, then restart the control plane.&lt;/p&gt;

&lt;p&gt;I use this number to compare rough sizes, nothing finer. It says nothing about what your actual provider charges.&lt;/p&gt;
&lt;h2&gt;
  
  
  Budgets and forecasts
&lt;/h2&gt;

&lt;p&gt;The Cost explorer builds on the same snapshots. The docs list grouping by app, project, tag, node or kind, a month end forecast from the mean of the last full days (up to seven), and budgets that alert at thresholds or throttle or pause apps at 100 percent. The CLI forms are &lt;code&gt;levelrail-cli costs explore --by tag --period 30d&lt;/code&gt; and &lt;code&gt;levelrail-cli costs budgets create ...&lt;/code&gt;. I ran &lt;code&gt;costs explore&lt;/code&gt; once and it printed 0.00 for my idle app, so I cannot tell you more than the docs do about how the forecast behaves with real traffic.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Is this an invoice or a billing integration?
&lt;/h3&gt;

&lt;p&gt;No. The docs call it showback, a report of who used what. Levelrail bills no one and queries no cloud provider.&lt;/p&gt;
&lt;h3&gt;
  
  
  How accurate is it?
&lt;/h3&gt;

&lt;p&gt;Only as accurate as the bill you enter and the usage it measured. If a server bill is wrong, every cost on it is wrong by the same factor. Days are UTC, and storage is a single reading per day.&lt;/p&gt;
&lt;h3&gt;
  
  
  Does the platform itself show up as a cost?
&lt;/h3&gt;

&lt;p&gt;Not as its own line. A server has one bill, and the platform and the operating system fall into the idle share.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I get the data out?
&lt;/h3&gt;

&lt;p&gt;Yes. &lt;code&gt;levelrail-cli usage report --period 30d --csv &amp;gt; usage.csv&lt;/code&gt; writes the resource breakdown, and every command takes &lt;code&gt;--json&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  The bottom line
&lt;/h2&gt;

&lt;p&gt;On a small VPS the useful number is rarely the cost of one app. The idle share matters more, the part of the six dollars nobody used. My idle test box says 100 percent of the bill is idle, which is honest and dull. I plan to run this on a server with real traffic for a month and see how close the forecast gets.&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;p&gt;Levelrail docs and code, read at the v1.0.1 release branch: &lt;code&gt;docs/usage-and-cost.md&lt;/code&gt;, &lt;code&gt;docs/cost-estimate.md&lt;/code&gt;, &lt;code&gt;docs/cost-explorer.md&lt;/code&gt;, and the reference rates in &lt;code&gt;internal/costestimate&lt;/code&gt;. Command output is from a local instance I started with &lt;code&gt;levelrail-cli dev&lt;/code&gt;, built from that branch. The worked example is arithmetic from the documented formula, not a measurement.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>docker</category>
      <category>cloud</category>
    </item>
    <item>
      <title>One VPS is full. Here is how I add a second server without Kubernetes</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Thu, 12 Nov 2026 05:33:00 +0000</pubDate>
      <link>https://dev.to/known_developer/one-vps-is-full-here-is-how-i-add-a-second-server-without-kubernetes-amh</link>
      <guid>https://dev.to/known_developer/one-vps-is-full-here-is-how-i-add-a-second-server-without-kubernetes-amh</guid>
      <description>&lt;h1&gt;
  
  
  One VPS is full. Here is how I add a second server without Kubernetes
&lt;/h1&gt;

&lt;p&gt;The question that keeps coming up in self-hosting threads goes like this: my single VPS is running out of memory, do I now have to learn Kubernetes? I wanted a straight answer for Levelrail, the self-hosted deploy platform I work on, so I spent an evening adding a second server to a throwaway instance and writing down every requirement the docs claim. I could run some of it. I will say which parts.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;What to know&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pick a method&lt;/td&gt;
&lt;td&gt;One pasted command, an SSH adoption, or a server created at a cloud provider&lt;/td&gt;
&lt;td&gt;All three end with the same thing: an agent on the new box&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Connect&lt;/td&gt;
&lt;td&gt;The agent dials out to the control plane over mutual TLS&lt;/td&gt;
&lt;td&gt;The new box needs no inbound port for control traffic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Preflight&lt;/td&gt;
&lt;td&gt;Docker, CPU architecture, disk, clock, WireGuard, mesh port&lt;/td&gt;
&lt;td&gt;Linux on amd64 or arm64 only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Place apps&lt;/td&gt;
&lt;td&gt;Each app lives on exactly one node&lt;/td&gt;
&lt;td&gt;No replica spreading across nodes yet&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What a second node is, and is not
&lt;/h2&gt;

&lt;p&gt;A Levelrail install is one control plane binary. On a single host it also runs your containers through the local Docker daemon. When you add a node, a small agent (&lt;code&gt;levelrail-agent&lt;/code&gt;) runs next to the Docker daemon on the new server and connects out to the control plane. Docker's own daemon on that box still owns the containers.&lt;/p&gt;

&lt;p&gt;That outbound direction matters. The architecture doc says a managed node needs no inbound port for control traffic, and the control plane holds the other end of a session the agent opened. Enrollment uses a one-time join token and a certificate signing request, and the agent can pin the control plane's CA fingerprint.&lt;/p&gt;

&lt;p&gt;This does not replace Kubernetes. Nothing spreads the replicas of one app across machines, and the multi-node doc says all replicas of one app run on one node today. What you get is placement: a second box that takes whole apps and databases.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three ways to add the box
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;You run&lt;/th&gt;
&lt;th&gt;Good for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Join command&lt;/td&gt;
&lt;td&gt;One &lt;code&gt;docker run&lt;/code&gt; or binary command on the new server&lt;/td&gt;
&lt;td&gt;Any machine you can already log in to and want to see every step on&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SSH adoption&lt;/td&gt;
&lt;td&gt;One CLI command from your laptop&lt;/td&gt;
&lt;td&gt;A fresh VPS where you do not want to paste anything&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provision at a provider&lt;/td&gt;
&lt;td&gt;The CLI creates the server for you&lt;/td&gt;
&lt;td&gt;Hetzner and DigitalOcean, per the CLI help&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Method 1: the join command
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli nodes add --name worker-1 --preflight
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This prints a command for the new server with a single-use token and the CA fingerprint, then waits for the node and prints each preflight check. The token is valid for 15 minutes by default, and you can change that with &lt;code&gt;APP_NODE_JOIN_TOKEN_TTL&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Before you run it for a real remote machine, set &lt;code&gt;APP_AGENT_ADVERTISE_HOST&lt;/code&gt; on the control plane to the public IP or hostname the new server can reach. The docs explain why: with the loopback default, enrollment succeeds but the node's TLS session fails hostname verification on every attempt, and the node sits at &lt;code&gt;pending&lt;/code&gt; forever. &lt;code&gt;levelrail-cli doctor&lt;/code&gt; warns about it.&lt;/p&gt;

&lt;p&gt;For a box that should keep the agent across reboots, the docs show installing the &lt;code&gt;.deb&lt;/code&gt; or &lt;code&gt;.rpm&lt;/code&gt; and letting systemd run it, with the token and CA fingerprint in &lt;code&gt;/etc/levelrail-agent/agent.env&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Method 2: SSH adoption
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli nodes ssh-provision \
  --host 192.0.2.10 --user root --key-file ~/.ssh/id_ed25519 \
  --name worker-1 --control-plane-addr controlplane.example.com:9443
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The control plane connects, detects the OS and CPU, installs Docker with the &lt;code&gt;get.docker.com&lt;/code&gt; script if missing, writes &lt;code&gt;/etc/levelrail-agent.env&lt;/code&gt; (mode 0600) and a systemd unit, and waits for the agent to enroll. The install runs in the background, so you follow it with &lt;code&gt;levelrail-cli nodes ssh-provisions show PROVISION_ID&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;What the docs require: Linux with systemd on amd64 or arm64, SSH as root (or a user that can run everything as root without a prompt), the new server able to reach the control plane's agent port (9443 by default) outbound, and the control plane able to reach the server's SSH port.&lt;/p&gt;

&lt;p&gt;The CLI checks host keys before it sends any credential. Without a pin flag the CLI prints the server's fingerprints and asks you to confirm. In a script you pass &lt;code&gt;--host-key-fingerprint SHA256:...&lt;/code&gt;, which you read on the server with &lt;code&gt;ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I actually ran
&lt;/h2&gt;

&lt;p&gt;I used a local build of the CLI and control plane (a development build from just before v1.0.1, so I read the v1.0.1 docs against it) on my laptop, a Mac with Docker Desktop, using &lt;code&gt;levelrail-cli dev&lt;/code&gt; on a spare port. This was a throwaway instance with its own data directory, removed afterwards. It is not a real VPS, and that matters for what follows.&lt;/p&gt;
&lt;h3&gt;
  
  
  The join flow, with an agent on the same machine
&lt;/h3&gt;

&lt;p&gt;I built &lt;code&gt;levelrail-agent&lt;/code&gt; from the release source, minted a join command with &lt;code&gt;nodes add&lt;/code&gt;, and ran the agent with the printed environment variables. It enrolled and the control plane issued it a certificate. Then I asked for the preflight report:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CHECK          STATUS   DETAIL
control_plane  PASS     the agent reached the control plane and completed the mTLS handshake
docker         PASS     Docker 28.3.0 answered on the local socket
architecture   FAIL     darwin/arm64 is not a supported node platform (supported: linux on amd64, arm64)
disk           PASS     24548 MiB free
clock          PASS     the node clock differs from the control plane by 4ms
wireguard      FAIL     WireGuard needs a Linux kernel
mesh_port      PASS     UDP 51820 is free on this node
firewall       UNKNOWN  a node only dials out, so inbound reachability of UDP 51820 ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Two failures, both correct, because my "server" was a Mac. The check says so plainly instead of letting a doomed node limp along. The node never reached &lt;code&gt;online&lt;/code&gt; here. I assume the same cause but did not confirm it. That run covered enrollment, the mTLS handshake and the preflight report, and stopped short of a working node.&lt;/p&gt;
&lt;h3&gt;
  
  
  The SSH flow, against a Debian container
&lt;/h3&gt;

&lt;p&gt;For the SSH path I started a Debian 12 container running sshd, bound to a local port, and pointed &lt;code&gt;ssh-provision&lt;/code&gt; at it with its host key pinned.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli nodes ssh-provision --host 127.0.0.1 --port 42510 --user root \
  --key-file ./testkey --name w2e-vps \
  --host-key-fingerprint SHA256:&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;fingerprint from ssh-keyscan&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The provision connected, detected &lt;code&gt;Debian GNU/Linux 12 (bookworm)&lt;/code&gt; on arm64, decided Docker was missing and tried to install it. It then failed, because my minimal container has no &lt;code&gt;curl&lt;/code&gt; and no systemd:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docker: Docker not found, installing via get.docker.com
docker: bash: line 1: curl: command not found
failed: start Docker: Process exited with status 1 (output: Failed to enable unit, unit docker.service does not exist.)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;A container is not a VPS, so the failure says nothing about a real server. It did show the stage log and failure reason, which is how you will debug a bad adoption. The docs list a &lt;code&gt;this host has no systemd&lt;/code&gt; message as an early failure, and I did not see that one. The run got as far as the Docker step first. I report it as I saw it.&lt;/p&gt;

&lt;p&gt;I also changed one character of the pinned fingerprint to see whether the pin holds. The provision failed at the connect stage with a message naming the expected fingerprint and the ones the server presented, and sent no credential. That is the behavior you want from a pin.&lt;/p&gt;
&lt;h3&gt;
  
  
  What I did not run
&lt;/h3&gt;

&lt;p&gt;I did not add a real remote VPS by either method. I did not run the agent on Linux. I did not place an app on a second node, enable the WireGuard mesh between two hosts, or test a node dropping off. The SSH doc says so itself: tests with a fake SSH server cover the flow, not a run against a real VPS or home server.&lt;/p&gt;
&lt;h2&gt;
  
  
  The part people miss: routing
&lt;/h2&gt;

&lt;p&gt;Adding the node is the easy half. Your domains still end at the control plane, because the embedded Caddy ingress runs there and a worker has no public listener. Traffic reaches an app on a worker through the node's WireGuard mesh address.&lt;/p&gt;

&lt;p&gt;For apps on a second server, turn the mesh on. That means the control plane's &lt;code&gt;APP_AGENT_ADVERTISE_HOST&lt;/code&gt; is a public IP address (a hostname does not work with the mesh), inbound UDP 51820 is open on its firewall, and each agent runs with the network capability and TUN device the docs list. If the mesh path is down, the app can report healthy while browsers get a TLS failure. Levelrail flags that as a &lt;code&gt;NoMeshIngressPath&lt;/code&gt; condition and in &lt;code&gt;levelrail-cli doctor&lt;/code&gt;, and the multi-node doc is open that cross-host mesh is lightly proven, exercised against fakes and a single host rather than two real hosts.&lt;/p&gt;
&lt;h2&gt;
  
  
  Moving an app over
&lt;/h2&gt;

&lt;p&gt;Once a node is online:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli nodes list
levelrail-cli apps set-node myapp worker-1 --with-volumes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Without &lt;code&gt;--with-volumes&lt;/code&gt; the move creates empty volumes on the new node and leaves the old ones behind, which breaks anything with state. With it, Levelrail stops the app, copies each named volume over the existing transport, changes the placement and starts the app on the new node. The doc warns the move is not atomic and has no automatic rollback: a failure leaves the app suspended and placement unchanged, and a retry is safe.&lt;/p&gt;
&lt;h2&gt;
  
  
  Where this stops being enough
&lt;/h2&gt;

&lt;p&gt;The docs list these limits.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each app runs on one node. A second server gives you capacity, not high availability for a single app.&lt;/li&gt;
&lt;li&gt;Agent upgrades are manual. The control plane only flags an outdated agent.&lt;/li&gt;
&lt;li&gt;What happens when a node stays unreachable is opt-in. The default policy is &lt;code&gt;off&lt;/code&gt;, and apps with node-local volumes and all databases are never moved automatically, because that could lose data.&lt;/li&gt;
&lt;li&gt;Placement is a fit check plus a spread. Cordoned and offline nodes are never picked, and you can pin by labels.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you need multiple replicas of one app behind a balancer across hosts, a scheduler built for that is the better tool today, and that is a fair reason to look elsewhere.&lt;/p&gt;
&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Do I need Kubernetes to run apps on two servers?
&lt;/h3&gt;

&lt;p&gt;Not for this. You need a control plane, an agent on the second server and a way for traffic to reach it, which is the mesh. You give up per-app replica scheduling across hosts.&lt;/p&gt;
&lt;h3&gt;
  
  
  Does the second server need an open inbound port?
&lt;/h3&gt;

&lt;p&gt;For control traffic, no, the agent dials out to the control plane's agent port. For routing app traffic over the mesh, the control plane needs inbound UDP 51820, and the docs say workers reach each other on that port too.&lt;/p&gt;
&lt;h3&gt;
  
  
  Can I use a Raspberry Pi or a home server?
&lt;/h3&gt;

&lt;p&gt;The SSH doc names a home server and a Raspberry Pi as targets, as long as it runs Linux with systemd on amd64 or arm64. No metadata service means you set provider, region and zone yourself with &lt;code&gt;--provider&lt;/code&gt;, &lt;code&gt;--region&lt;/code&gt; and &lt;code&gt;--zone&lt;/code&gt;. I did not test either.&lt;/p&gt;
&lt;h3&gt;
  
  
  What if the SSH install fails halfway?
&lt;/h3&gt;

&lt;p&gt;Read the stage log with &lt;code&gt;nodes ssh-provisions show&lt;/code&gt;. Common fixes in the docs: pin the right fingerprint, allow outbound access to &lt;code&gt;get.docker.com&lt;/code&gt; or install Docker yourself first (it leaves an existing Docker alone), and open outbound TCP to the agent port.&lt;/p&gt;
&lt;h2&gt;
  
  
  Closing thought
&lt;/h2&gt;

&lt;p&gt;The flow is shorter than I expected, and the preflight is more honest than most installers. The piece I would want proof of before trusting it with production is the one I could not run: two real Linux hosts, the mesh between them, and a node going away mid-deploy. Has anyone here done that on a pair of cheap VPSes and kept notes?&lt;/p&gt;

&lt;p&gt;If this saved you time, a star on the repo helps others find it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/glincker" rel="noopener noreferrer"&gt;
        glincker
      &lt;/a&gt; / &lt;a href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;
        levelrail
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Self-hosted alternative to Vercel and Coolify. Git push, HTTPS, logs, rollback. No Kubernetes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/brand/levelrail-default.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Flevelrail-default.svg" alt="Levelrail logo" width="56" height="56"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Levelrail&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Your own Vercel, on your own servers.&lt;/strong&gt;&lt;br&gt;
Push to deploy with HTTPS, logs, metrics and one-step rollback. One Go binary, no Kubernetes. Apache 2.0.&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://github.com/glincker/levelrail/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dc1caf739214ba064b17e66e605c955f70c7d5f88454e9cdd267a0d199e90905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174266c6f676f3d676974687562" alt="GitHub stars"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c3c2050e75627717c5a75f41e71033befdf6dc80b7624c8434e64c5f919d2e67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f676c696e636b65722f6c6576656c7261696c" alt="License: Apache 2.0"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/releases" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9667d55055fd9d9c1ea62a4edc0ce05cfdae17f8a99f64df238288a25e9f3488/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f676c696e636b65722f6c6576656c7261696c3f696e636c7564655f70726572656c6561736573266c6162656c3d72656c65617365" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/actions/workflows/ci.yml" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/glincker/levelrail/actions/workflows/ci.yml/badge.svg" alt="CI status"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/commits/main" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/c56d5412719ab3fd362dcdb35f5ad5346fd2ec2241d20d7275a4931f57e060f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f676c696e636b65722f6c6576656c7261696c3f7374796c653d666c6174" alt="Last commit"&gt;&lt;/a&gt;
  &lt;a href="https://www.npmjs.com/package/levelrail-cli" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/37519ed766d86a3d4a48ad10430e9a5c851fbff40f9b19ac687a6a2c18d4e8c7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f6c6576656c7261696c2d636c693f7374796c653d666c6174266c6f676f3d6e706d266c6162656c3d6e706d" alt="levelrail-cli on npm"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ba6082c73691bccaf564336024813ccc8b95366cc60dc241c8fb155e739e7388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d43502d7365727665722d3841324245323f7374796c653d666c6174" alt="MCP server"&gt;&lt;/a&gt;
  &lt;a href="https://discord.gg/Ar5pcaZB99" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/bd291f58ab0ea785445fd546619eec3007f64ae6e9176dbfbd042ce93ce961d6/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3832393136383839373038303535373537393f7374796c653d666c6174266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d646973636f726426636f6c6f723d353836354632" alt="Discord"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://levelrail.com" rel="nofollow noopener noreferrer"&gt;Website&lt;/a&gt; ·
  &lt;a href="https://docs.levelrail.com" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#install" rel="noopener noreferrer"&gt;Install&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#vs-coolify-dokploy-caprover-and-dokku" rel="noopener noreferrer"&gt;Compare&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail#faq" rel="noopener noreferrer"&gt;FAQ&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/docs/roadmap.md" rel="noopener noreferrer"&gt;Roadmap&lt;/a&gt; ·
  &lt;a href="https://github.com/glincker/levelrail/discussions" rel="noopener noreferrer"&gt;Discussions&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;English · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.zh-Hans.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.es.md" rel="noopener noreferrer"&gt;Español&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.pt-BR.md" rel="noopener noreferrer"&gt;Português (BR)&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.de.md" rel="noopener noreferrer"&gt;Deutsch&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.fr.md" rel="noopener noreferrer"&gt;Français&lt;/a&gt; · &lt;a href="https://github.com/glincker/levelrail/docs/i18n/README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fbrand%2Fsocial%2Fgithub-social-1280x640-light.jpg" alt="Levelrail: your own Vercel, on your server. The lightweight, self-hosted alternative to Vercel, Heroku and Coolify." width="880"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;Turn any Linux server into a private cloud: Git deploys, HTTPS, databases with verified backups, metrics, logs and alerts, without Kubernetes and without a monitoring stack to bolt on. Pre-1.0: single-server is production ready, multi-node is beta (&lt;a href="https://github.com/glincker/levelrail/docs/feature-status.md" rel="noopener noreferrer"&gt;Feature status&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/glincker/levelrail/docs/assets/demos/product-tour.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fglincker%2Flevelrail%2FHEAD%2Fdocs%2Fassets%2Fdemos%2Fproduct-tour.gif" alt="Levelrail dashboard tour: fleet overview, apps list, deploy history and built-in metrics" width="880"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;200 MB&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;idle RAM, 1.5% of one CPU&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/benchmarks.md" rel="noopener noreferrer"&gt;measured, method included&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1 binary&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;Go control plane, Docker runtime&lt;br&gt;no Kubernetes&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;360&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;one-click service templates&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/templates-status.md" rel="noopener noreferrer"&gt;smoke-tested&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

    &lt;td&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;240+&lt;/h3&gt;

&lt;/div&gt;

&lt;p&gt;MCP tools for coding agents&lt;br&gt;&lt;a href="https://github.com/glincker/levelrail/docs/mcp.md" rel="noopener noreferrer"&gt;scoped, read-only by default&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Install&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;curl -fsSL https://levelrail.com/install.sh &lt;span class="pl-k"&gt;|&lt;/span&gt; sudo sh&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Needs Linux (amd64 or arm64) with systemd and root; the installer adds Docker. Open ports…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/glincker/levelrail" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Levelrail docs at release/v1.0.1: add-node-over-ssh.md, add-node-anywhere.md, multi-node.md, architecture.md&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;levelrail-cli nodes --help&lt;/code&gt;, &lt;code&gt;levelrail-cli nodes ssh-provision --help&lt;/code&gt;, and my own local runs described above (development build, macOS arm64 laptop, Docker Desktop 28.3.0, throwaway instance, removed afterwards)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>docker</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Best self-hosted PaaS in 2026: six tools compared</title>
      <dc:creator>Known Developer</dc:creator>
      <pubDate>Wed, 11 Nov 2026 05:27:53 +0000</pubDate>
      <link>https://dev.to/known_developer/best-self-hosted-paas-in-2026-six-tools-compared-4l6i</link>
      <guid>https://dev.to/known_developer/best-self-hosted-paas-in-2026-six-tools-compared-4l6i</guid>
      <description>&lt;h1&gt;
  
  
  Best self-hosted PaaS in 2026: six tools compared
&lt;/h1&gt;

&lt;p&gt;Last month I sat with a 4 GB VPS, a Next.js app and a Postgres database, and spent two evenings reading six documentation sites to answer one question: which self-hosted PaaS do I put on this box? Every comparison I found was either written by one of the vendors or stopped at a star count. I did the dull thing. I opened each project's own docs and repository, wrote down what they claim, and checked the one I build against its own repo.&lt;/p&gt;

&lt;p&gt;I work on Levelrail, so you should discount my opinion of it. I tried to keep the table below limited to things you can verify, and I say where each tool beats mine.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;How it reaches your server&lt;/th&gt;
&lt;th&gt;Best at&lt;/th&gt;
&lt;th&gt;Watch out for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Coolify&lt;/td&gt;
&lt;td&gt;SSH from a web app&lt;/td&gt;
&lt;td&gt;Broad one-click catalog, polished UI&lt;/td&gt;
&lt;td&gt;You manage the host over SSH, cloud tier is paid&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Levelrail&lt;/td&gt;
&lt;td&gt;Agent that dials out over mTLS&lt;/td&gt;
&lt;td&gt;Logs, metrics, traces and one-command rollback built in&lt;/td&gt;
&lt;td&gt;Smaller one-click catalog than the largest, an agent on each extra server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dokploy&lt;/td&gt;
&lt;td&gt;Docker Swarm plus Traefik&lt;/td&gt;
&lt;td&gt;Swarm clustering, templates&lt;/td&gt;
&lt;td&gt;Part of the repo is under a proprietary license&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CapRover&lt;/td&gt;
&lt;td&gt;Docker Swarm plus nginx&lt;/td&gt;
&lt;td&gt;Long track record, simple app store&lt;/td&gt;
&lt;td&gt;Apache 2.0 with an appendix that limits some use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dokku&lt;/td&gt;
&lt;td&gt;Commands on the host, git push&lt;/td&gt;
&lt;td&gt;Smallest PaaS, Heroku workflow&lt;/td&gt;
&lt;td&gt;One server, no web dashboard in core&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kamal&lt;/td&gt;
&lt;td&gt;SSH from your laptop or CI&lt;/td&gt;
&lt;td&gt;Almost no moving parts&lt;/td&gt;
&lt;td&gt;No control plane, no UI&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What "self-hosted PaaS" means here
&lt;/h2&gt;

&lt;p&gt;A self-hosted PaaS turns a plain Linux server into something that builds your code, runs containers, issues HTTPS certificates and lets you roll back. All six tools do that. They differ in how they talk to the server, what they run underneath, and how much of the platform is one process you have to keep alive.&lt;/p&gt;

&lt;p&gt;I sorted them by that last point, because on a small VPS it decides everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The six, from their own documentation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Coolify
&lt;/h3&gt;

&lt;p&gt;Coolify describes itself as an open source, self-hostable platform for deploying applications, databases and services on servers you control, and its docs say it "connects to each server over SSH" &amp;lt;!-- source: &lt;a href="https://coolify.io/docs/get-started/introduction" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/introduction&lt;/a&gt; --&amp;gt;. The README claims more than 360 one-click services &amp;lt;!-- source: &lt;a href="https://github.com/coollabsio/coolify/blob/main/README.md" rel="noopener noreferrer"&gt;https://github.com/coollabsio/coolify/blob/main/README.md&lt;/a&gt; --&amp;gt; and lists Git push deploys, pull request previews, rollbacks to retained images, multi-server management, and a dashboard, API, CLI or MCP surface. The repository is under the Apache License 2.0 &amp;lt;!-- source: &lt;a href="https://github.com/coollabsio/coolify/blob/main/LICENSE" rel="noopener noreferrer"&gt;https://github.com/coollabsio/coolify/blob/main/LICENSE&lt;/a&gt; --&amp;gt;, and the project sells a hosted tier.&lt;/p&gt;

&lt;p&gt;Where it wins: the catalog and the dashboard. If you want to click a service and get a database with generated credentials, that is why people recommend it by default.&lt;/p&gt;

&lt;h3&gt;
  
  
  Levelrail
&lt;/h3&gt;

&lt;p&gt;Levelrail is an Apache 2.0 platform that runs as one Go binary with a node agent per extra server. The agent dials out over mutual TLS and talks to the Docker Engine API directly, so managed nodes need no inbound port, and a level-triggered reconciler converges each node toward desired state (&lt;code&gt;docs/comparison.md&lt;/code&gt; in the repo). A deploy counts as healthy only after the readiness probe passes, and Levelrail pins earlier images so cleanup cannot remove a rollback target (&lt;code&gt;docs/comparison.md&lt;/code&gt;, &lt;code&gt;docs/rollback.md&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Where it wins: metrics, logs, traces and alerts ship in the core, so there is no second stack to install. Where it loses: its one-click catalog is smaller than the largest ones here, and it needs an agent on each extra server where Coolify and Kamal only need SSH.&lt;/p&gt;

&lt;h3&gt;
  
  
  Dokploy
&lt;/h3&gt;

&lt;p&gt;Dokploy's docs describe an open source alternative to Heroku, Vercel and Netlify built on Docker and Traefik &amp;lt;!-- source: &lt;a href="https://docs.dokploy.com/docs/core" rel="noopener noreferrer"&gt;https://docs.dokploy.com/docs/core&lt;/a&gt; --&amp;gt;. Its README lists multi-node scaling with Docker Swarm, remote servers, database backups to external storage, CPU, memory and network monitoring, and "+600 Templates" &amp;lt;!-- source: &lt;a href="https://github.com/Dokploy/dokploy/blob/canary/README.md" rel="noopener noreferrer"&gt;https://github.com/Dokploy/dokploy/blob/canary/README.md&lt;/a&gt; --&amp;gt;. The license file is Apache 2.0 for most of the repo, with everything under a &lt;code&gt;/proprietary&lt;/code&gt; directory under a separate license I could not read &amp;lt;!-- source: &lt;a href="https://github.com/Dokploy/dokploy/blob/canary/LICENSE.MD" rel="noopener noreferrer"&gt;https://github.com/Dokploy/dokploy/blob/canary/LICENSE.MD&lt;/a&gt; --&amp;gt;.&lt;/p&gt;

&lt;p&gt;Where it wins: if Swarm is already how you think about clusters, Dokploy gives you a modern dashboard on top of it, and its template count is the highest I could verify.&lt;/p&gt;

&lt;h3&gt;
  
  
  CapRover
&lt;/h3&gt;

&lt;p&gt;CapRover's README says it uses Docker, nginx, Let's Encrypt and NetData behind a simple interface, with "Docker Swarm under the hood" and no lock-in: remove it and your apps keep working &amp;lt;!-- source: &lt;a href="https://github.com/caprover/caprover/blob/master/README.md" rel="noopener noreferrer"&gt;https://github.com/caprover/caprover/blob/master/README.md&lt;/a&gt; --&amp;gt;. The install guide asks for an AMD64 or ARM64 server with at least 1 GiB of RAM and 5 GiB of free disk, a wildcard domain, and public ports 80, 443 and 3000 &amp;lt;!-- source: &lt;a href="https://caprover.com/docs/get-started.html" rel="noopener noreferrer"&gt;https://caprover.com/docs/get-started.html&lt;/a&gt; --&amp;gt;. The license is Apache 2.0 plus an appendix that restricts modifying its paid service features and redistributing competing paid versions &amp;lt;!-- source: &lt;a href="https://github.com/caprover/caprover/blob/master/LICENSE" rel="noopener noreferrer"&gt;https://github.com/caprover/caprover/blob/master/LICENSE&lt;/a&gt; --&amp;gt;.&lt;/p&gt;

&lt;p&gt;Where it wins: it has been around a long time, the app store is simple, and the "no lock-in" claim is the most concrete I found.&lt;/p&gt;

&lt;h3&gt;
  
  
  Dokku
&lt;/h3&gt;

&lt;p&gt;Dokku calls itself a "Docker powered mini-Heroku" and the "smallest PaaS implementation you've ever seen", under the MIT License &amp;lt;!-- source: &lt;a href="https://github.com/dokku/dokku/blob/master/README.md" rel="noopener noreferrer"&gt;https://github.com/dokku/dokku/blob/master/README.md&lt;/a&gt; --&amp;gt;. It builds from a Git push, with a Dockerfile or buildpacks, runs on one server, and needs 1 GB of memory for the Docker scheduler &amp;lt;!-- source: &lt;a href="https://dokku.com/docs/getting-started/installation/" rel="noopener noreferrer"&gt;https://dokku.com/docs/getting-started/installation/&lt;/a&gt; --&amp;gt;.&lt;/p&gt;

&lt;p&gt;Where it wins: a single server where you want the least software between you and Docker. Nothing on this list beats it on simplicity there.&lt;/p&gt;

&lt;h3&gt;
  
  
  Kamal
&lt;/h3&gt;

&lt;p&gt;Kamal comes from 37signals, who say they used it to move HEY and other applications to their own hardware. The site calls it "basically Capistrano for Containers", and you list server IPs in a config file &amp;lt;!-- source: &lt;a href="https://kamal-deploy.org/" rel="noopener noreferrer"&gt;https://kamal-deploy.org/&lt;/a&gt; --&amp;gt;. Its companion kamal-proxy moves traffic to a new instance only after health checks pass and drains the old one &amp;lt;!-- source: &lt;a href="https://github.com/basecamp/kamal-proxy" rel="noopener noreferrer"&gt;https://github.com/basecamp/kamal-proxy&lt;/a&gt; --&amp;gt;. A rollback starts a new container from an older image still on the host, with nothing downloaded from the registry &amp;lt;!-- source: &lt;a href="https://kamal-deploy.org/docs/commands/rollback/" rel="noopener noreferrer"&gt;https://kamal-deploy.org/docs/commands/rollback/&lt;/a&gt; --&amp;gt;.&lt;/p&gt;

&lt;p&gt;Where it wins: it has no server component at all. If a dashboard is optional for you, there is nothing to keep running.&lt;/p&gt;

&lt;h2&gt;
  
  
  Side by side
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Coolify&lt;/th&gt;
&lt;th&gt;Levelrail&lt;/th&gt;
&lt;th&gt;Dokploy&lt;/th&gt;
&lt;th&gt;CapRover&lt;/th&gt;
&lt;th&gt;Dokku&lt;/th&gt;
&lt;th&gt;Kamal&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reaches servers by&lt;/td&gt;
&lt;td&gt;SSH&lt;/td&gt;
&lt;td&gt;Reverse-dialed agent&lt;/td&gt;
&lt;td&gt;Swarm&lt;/td&gt;
&lt;td&gt;Swarm&lt;/td&gt;
&lt;td&gt;Host commands&lt;/td&gt;
&lt;td&gt;SSH&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Proxy&lt;/td&gt;
&lt;td&gt;Proxy on each server&lt;/td&gt;
&lt;td&gt;Embedded Caddy&lt;/td&gt;
&lt;td&gt;Traefik&lt;/td&gt;
&lt;td&gt;nginx&lt;/td&gt;
&lt;td&gt;Pluggable&lt;/td&gt;
&lt;td&gt;kamal-proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Web dashboard&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not in core&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Several servers&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes (Swarm)&lt;/td&gt;
&lt;td&gt;Yes (Swarm)&lt;/td&gt;
&lt;td&gt;One server&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;License&lt;/td&gt;
&lt;td&gt;Apache 2.0&lt;/td&gt;
&lt;td&gt;Apache 2.0&lt;/td&gt;
&lt;td&gt;Apache 2.0 plus proprietary dir&lt;/td&gt;
&lt;td&gt;Apache 2.0 plus appendix&lt;/td&gt;
&lt;td&gt;MIT&lt;/td&gt;
&lt;td&gt;Not checked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Templates claimed&lt;/td&gt;
&lt;td&gt;360+&lt;/td&gt;
&lt;td&gt;447 in my local build&lt;/td&gt;
&lt;td&gt;600+&lt;/td&gt;
&lt;td&gt;App store&lt;/td&gt;
&lt;td&gt;Plugins&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I left the Kamal license cell at "Not checked" because I did not open its license file, rather than guess. The Levelrail count of 447 comes from &lt;code&gt;levelrail-cli templates list --json&lt;/code&gt; against a local build of the v1.0.1 release branch, and it will move as the release does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Footprint on a small box
&lt;/h2&gt;

&lt;p&gt;CapRover documents 1 GiB RAM and Dokku 1 GB for its Docker scheduler. Neither Coolify nor Dokploy gave a number on the pages I read, so I will not invent one. For Levelrail, the repo's README reports about 200 MB of RAM and roughly 1.5 percent of one CPU at idle, from one run on a 2 vCPU, 8 GB test box on 2026-10-19 with no app load (&lt;code&gt;README.md&lt;/code&gt;, method in &lt;code&gt;docs/benchmarks.md&lt;/code&gt;). The &lt;code&gt;minimal&lt;/code&gt; install profile lowers the doctor floors to 512 MiB and one core (&lt;code&gt;docs/profiles.md&lt;/code&gt;). I started the control plane locally with two apps running and it sat at about 165 MB resident, on a dev build, on a Mac. Treat that as a sanity check, not a benchmark.&lt;/p&gt;

&lt;p&gt;The idle figure is not what surprises people. The second stack you bolt on for logs is.&lt;/p&gt;

&lt;h2&gt;
  
  
  A tested example: search logs with no logging stack
&lt;/h2&gt;

&lt;p&gt;On a throwaway local control plane I deployed a small Compose file that prints JSON log lines, then searched them by a structured field:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;levelrail-cli compose deploy shop -f compose.yaml
levelrail-cli logs search shop-shop --field &lt;span class="nv"&gt;status&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;500 --since 10m --limit 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It printed the three newest matching JSON lines, with a footer saying &lt;code&gt;showing 3 of 11 matching lines&lt;/code&gt;. In the docs I read, Dokku, Kamal and CapRover show container logs, but searching by field or keeping history across restarts means bringing your own tooling. Coolify shows deployment and runtime logs in its UI, and I did not test its search.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which one I would pick
&lt;/h2&gt;

&lt;p&gt;One server, one app, you like the shell: Dokku or Kamal, in that order if you want a Git push or a CI step respectively.&lt;/p&gt;

&lt;p&gt;You want a polished dashboard and a long list of one-click apps on servers you SSH into: Coolify.&lt;/p&gt;

&lt;p&gt;You already run Swarm or want Swarm clustering with a modern UI: Dokploy. CapRover if you prefer the older, simpler route.&lt;/p&gt;

&lt;p&gt;You want deploys that wait for readiness, a one-command rollback, and logs, metrics and traces in the same binary, and want it all in one binary: Levelrail.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is the lightest self-hosted PaaS?
&lt;/h3&gt;

&lt;p&gt;Kamal has no server component, so it adds nothing at idle. Dokku is a set of scripts on the host with no separate web service. Among tools with a control plane, check each project's own footprint numbers before you trust a claim, including mine.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Coolify better than Dokploy?
&lt;/h3&gt;

&lt;p&gt;Neither is better across the board. Coolify manages servers over SSH and has the more mature catalog and UI. Dokploy builds on Docker Swarm, which matters if you want Swarm clustering. Read both license files first, since Dokploy has a proprietary directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I move between these tools?
&lt;/h3&gt;

&lt;p&gt;Your containers and volumes stay Docker objects, so the data moves. The config does not. Levelrail ships dry-run importers for Coolify, Dokploy, CapRover, Dokku and Compose files (&lt;code&gt;docs/migrate-to-levelrail.md&lt;/code&gt;). I have not tested the other direction for any pair.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need Kubernetes instead?
&lt;/h3&gt;

&lt;p&gt;If you need it, you will know. None of these six require it, and Levelrail treats a Kubernetes compatibility layer as a non-goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Pick the tool whose failure mode you can live with: Kamal and Dokku fail by being too bare, Coolify and Dokploy by asking for more host and more trust in a web app, CapRover by age, Levelrail by asking you to run an agent on every extra server. Would these claims still hold if you reran them on your own VPS next quarter?&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://coolify.io/docs/get-started/introduction" rel="noopener noreferrer"&gt;https://coolify.io/docs/get-started/introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/coollabsio/coolify/blob/main/README.md" rel="noopener noreferrer"&gt;https://github.com/coollabsio/coolify/blob/main/README.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/coollabsio/coolify/blob/main/LICENSE" rel="noopener noreferrer"&gt;https://github.com/coollabsio/coolify/blob/main/LICENSE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.dokploy.com/docs/core" rel="noopener noreferrer"&gt;https://docs.dokploy.com/docs/core&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Dokploy/dokploy/blob/canary/README.md" rel="noopener noreferrer"&gt;https://github.com/Dokploy/dokploy/blob/canary/README.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Dokploy/dokploy/blob/canary/LICENSE.MD" rel="noopener noreferrer"&gt;https://github.com/Dokploy/dokploy/blob/canary/LICENSE.MD&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://caprover.com/docs/get-started.html" rel="noopener noreferrer"&gt;https://caprover.com/docs/get-started.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/caprover/caprover/blob/master/README.md" rel="noopener noreferrer"&gt;https://github.com/caprover/caprover/blob/master/README.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/caprover/caprover/blob/master/LICENSE" rel="noopener noreferrer"&gt;https://github.com/caprover/caprover/blob/master/LICENSE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dokku.com/docs/getting-started/installation/" rel="noopener noreferrer"&gt;https://dokku.com/docs/getting-started/installation/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/dokku/dokku/blob/master/README.md" rel="noopener noreferrer"&gt;https://github.com/dokku/dokku/blob/master/README.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kamal-deploy.org/" rel="noopener noreferrer"&gt;https://kamal-deploy.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kamal-deploy.org/docs/commands/rollback/" rel="noopener noreferrer"&gt;https://kamal-deploy.org/docs/commands/rollback/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/basecamp/kamal-proxy" rel="noopener noreferrer"&gt;https://github.com/basecamp/kamal-proxy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>docker</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
