Tutorials for running your own servers.
Deploy real apps to servers you own, step by step. Every guide was run on a real build, with the version and date at the bottom.
30tutorials
12run on real builds
5topics
- Install a Self-Hosted PaaS on Your Own Server in Five Minutes 7 min read, beginner
- Deploy an Express App to a VPS With Docker and Health Checks 5 min read, beginner
- Roll Back a Failed Docker Deploy Without Downtime 3 min read, beginner
Compare and choose
Side by side looks at self-hosted platforms and the hosted tools they replace, with sources.
8 tutorials- comparison Self-hosted PaaS compared: six tools, one fair table (2026) Coolify, Levelrail, Dokploy, CapRover, Dokku and Kamal side by side: approach, license, multi-server, interfaces and stated RAM, with a source for each claim. beginner Self-hostingPaaS
- comparison Best Coolify Alternatives in 2026: Top 5 Compared The best Coolify alternatives in 2026: Levelrail, Dokploy, CapRover, Dokku and Kamal compared on memory, license, features and migration, with sources. beginner Self-hostingCoolify
- comparison Best Railway Alternatives in 2026 (Self-Hosted, Fixed Cost) Five self-hosted Railway alternatives ranked for people who want a fixed server bill: Levelrail, Coolify, Dokploy, CapRover and Dokku, with sourced facts. beginner RailwaySelf-hosting
- comparison Best Self-Hosted Vercel Alternatives in 2026 Five self-hosted Vercel alternatives ranked for git deploys, previews and TLS on your own servers with no per-seat pricing: Levelrail, Coolify, Dokploy, CapRover, Dokku. beginner Self-hostingVercel
- comparison Best Heroku Alternatives in 2026 (5 Compared) Five Heroku alternatives compared with sourced facts: Levelrail, Dokku, Railway, Coolify and CapRover. Stated RAM minimums, licenses and pricing. beginner HerokuPaaS
- comparison Lightest Self-Hosted PaaS Options by RAM (2026) Levelrail, CapRover, Dokku, Coolify and Dokploy ranked by the RAM each project's docs state, next to a measured idle figure, for small and cheap VPS plans. beginner Self-hostingPaaS
- explainer Docker Orchestration Without Kubernetes or SSH Scripts How a reconcile loop, Docker's event stream and a reverse-dialed agent replace SSH and shelled docker commands, and what this design costs you. intermediate DockerDevOps
- comparison Self-Hosted Vercel and Heroku Alternatives, Compared Coolify, Dokploy, CapRover, Dokku and Levelrail next to Vercel, Heroku and Railway: what each does well, where it fits, and which to pick for your setup. beginner Self-hostingPaaS
Deploy your stack
Step-by-step deploys of real frameworks and databases to your own server, each run on a real build.
9 tutorials- tutorial Deploy Django With Docker on a VPS: Health Checks, Rollback Deploy Django with gunicorn in Docker from a plain folder, no Dockerfile. Covers the health route, a bad release the gate refuses, secrets and rollback. tested v1.5.7 beginner DjangoPython
- tutorial Deploy a Go App With Docker: Health Checks, Logs and Rollback Deploy a Go HTTP service in Docker from a plain folder with no Dockerfile. Covers the bind address, a health route, a refused release and a real rollback. tested v1.5.7 beginner GoDocker
- tutorial Deploy a Docker Compose App Self-Hosted: Web, Redis and Rollback Deploy a Docker Compose app on your own server with Levelrail: a web service and Redis, a bad release that does not take traffic, and a compose rollback. tested v1.5.7 intermediate Docker ComposeRedis
- tutorial Deploy Laravel Self-Hosted: Docker, Health Checks, Rollback Deploy a Laravel 13 app to your own server from git with no Dockerfile. Real output for the PHP constraint, APP_KEY, the health route and a rollback. tested v1.5.7 beginner LaravelPHP
- tutorial Deploy Rails to a Docker VPS Without Writing a Dockerfile Deploy a Rails 8 app to your own server from git. Real output: RAILS_ENV, RAILS_MASTER_KEY, the /up health route and a rollback. tested v1.5.7 beginner RailsRuby
- tutorial Self-Hosted Static Site Hosting: Deploy a Folder With Levelrail Self-hosted static site hosting from a plain folder: one deploy command, _redirects, _headers and a custom 404 honored, plus a one command rollback. tested v1.5.7 beginner Static sitesSelf-hosting
- tutorial Deploy an Express App to a VPS With Docker and Health Checks Deploy a Node.js Express API to your own server with no Dockerfile. Covers the port rule, a health route, secrets, deploy failure codes and rollback. beginner Node.jsExpress
- tutorial Self-Hosted Postgres in Docker: Connect It to Your App Run Postgres in Docker as its own resource with its own volume, connect your app with one command, and read the reachability badge before a timeout hits. beginner PostgresDocker
- tutorial Deploy Next.js on a VPS With Docker, Git Push and HTTPS Deploy a Next.js app to your own VPS with Docker, a health check, HTTPS and rollback. Includes the NEXT_PUBLIC build trap that leaves variables empty. beginner Next.jsDocker
Ship safely and recover
Zero-downtime releases, health gates, rollbacks and the failures that look healthy until they are not.
7 tutorials- explainer Zero Downtime Deploy for Docker Apps, With Rollback How a Docker deploy waits for readiness before cutover, holds the previous release for rollback, rolls back on its own, and how to rehearse it. intermediate DockerDeployments
- explainer Our Health Check Failed and the Deploy Went Live Anyway A postmortem from our own dogfood run: a failed readiness probe still received traffic. What broke, why two correct parts added up to a bug, and the fix. intermediate DevOpsDocker
- tutorial Restart a Docker Container Without Downtime Restart a Docker app with one command and zero failed requests, then see what a plain stop and start costs. Real output from a self-hosted run. tested v0.8.5 beginner DockerDeployments
- tutorial Docker Container Restarting in a Loop: 5 Causes, Fixed Five real reasons a Docker container keeps restarting, each reproduced with its exit code, the command that finds it and the fix. Then the same crash on Levelrail. tested v0.8.5 intermediate DockerTroubleshooting
- tutorial Node Graceful Shutdown in Docker: Handle SIGTERM on Deploy Why docker stop takes 10 seconds on a Node app and resets in-flight requests, and the handler that fixes it. Measured exit codes, timings and deploy runs. tested v0.8.5 intermediate Node.jsDocker
- tutorial Roll Back a Failed Docker Deploy Without Downtime Ship a broken release on purpose, watch your users stay on the old version, then roll back with one command. Real commands, real output, self-hosted. tested v0.8.5 beginner DockerDeployments
- tutorial Update the PHP Docker Image Security Patch, No Downtime Move a Dockerized PHP app from 8.4.26 to the 8.4.27 security release with zero failed requests, pin the image by digest, and see a bad update get refused. tested v0.8.5 beginner PHPDocker
Install, secure and automate
Get a server ready, verify what you download, manage secrets and drive everything from code.
5 tutorials- tutorial Install the Levelrail CLI: npm, Homebrew or a Binary Three ways to install levelrail-cli: npm or a runner like npx, the Homebrew tap, or a release binary for macOS, Linux and Windows. It is a client only. beginner Self-hostingDevOps
- tutorial Manage a Self-Hosted PaaS with Terraform or OpenTofu Use the Levelrail provider from the Terraform or OpenTofu registry to manage projects, apps, domains and databases as code, with import and the gaps. intermediate Self-hostingDevOps
- tutorial How to Verify a Levelrail Release: Checksums and Cosign Check a Levelrail binary or image by hand: cosign verify-blob on checksums.txt, sha256sum, attestation and image signature, and what each step proves. intermediate SecuritySelf-hosting
- tutorial Manage Secrets Self-Hosted: Env Vars and Master Key Rotation Set env vars and encrypted secrets on a self-hosted server, apply changes safely, and rotate the master key with no downtime without locking yourself out. intermediate SecretsSecurity
- tutorial Install a Self-Hosted PaaS on Your Own Server in Five Minutes One installer download, one setup token, one sample app. The full Levelrail install on a fresh Linux server, with the checks and the fixes. tested v0.8.3 beginner Self-hostingDocker
More guides
Everything else we have tested.
1 tutorialsNo guide matches that. Try a framework or a task, like Django or rollback.
All posts are also in the blog, with RSS. Looking for an app to run? Browse the templates.