Managed platforms are convenient, but bills rise quickly once you have several apps, databases and preview environments. Open-source platforms such as Coolify and Dokploy give you a similar push-to-deploy experience on a server you control, often at a fraction of the cost. This course shows how to set one up properly, deploy real apps and databases on it, and take on the responsibilities that come with self-hosting: security, backups and updates.

What you'll learn

  • What a self-hosted PaaS does, and the trade-offs against Vercel, Render or Railway
  • Choosing a VPS provider and size, and preparing a hardened Ubuntu server
  • Installing Coolify and Dokploy, and how each uses Docker, Traefik and its own dashboard
  • Deploying from GitHub or GitLab with Nixpacks, Dockerfiles and Docker Compose
  • Domains, wildcard DNS and automatic Let's Encrypt certificates
  • Preview deployments for pull requests
  • Running PostgreSQL, MySQL, Redis and one-click services such as Plausible or n8n
  • Environment variables, secrets and build-time versus run-time configuration
  • Scheduled database backups to S3-compatible storage, and practising restores
  • Monitoring, log access, updates and adding more servers when one is not enough

Who it's for

  • Indie developers and small teams running several side projects or client sites
  • Agencies looking to cut hosting costs without hand-managing every server
  • Developers who want to understand what happens underneath their deploy button

Prerequisites

Outcomes

By the end of this course you will be able to:

  1. Install and secure a self-hosted deployment platform on your own VPS.
  2. Deploy web apps, APIs and databases with Git-based automatic deployments and HTTPS.
  3. Set up backups you have actually tested restoring.
  4. Decide honestly when self-hosting saves money and when a managed platform is the better choice.

Projects you'll build

  • Personal platform – a hardened VPS running Coolify with a wildcard domain and firewall, practising server setup and DNS.
  • Full-stack app with previews – a Next.js front end, an API and a PostgreSQL database with preview deployments for every pull request, practising Git integration and environment configuration.
  • Backup and recovery drill – automated off-site database backups plus a full restore onto a fresh server running Dokploy, practising disaster recovery and comparing both platforms.

Tools you'll use

Coolify v4, Dokploy, Docker and Docker Compose, Traefik, Ubuntu Server LTS, Let's Encrypt, S3-compatible storage such as Cloudflare R2 or Backblaze B2, and Uptime Kuma.

Course outline

ModuleTopic
1Self-hosted PaaS: what you gain and what you take on
2Choosing and hardening a VPS
3Installing Coolify
4Deploying apps from Git
5Domains, DNS and HTTPS
6Databases and one-click services
7Environment variables and secrets
8Preview deployments
9Backups and restores
10Dokploy: setup and comparison
11Monitoring, updates and multiple servers
12Project: move a real project off a managed platform

FAQ

How is this different from VPS Hosting for Web Apps?

VPS Hosting for Web Apps teaches you to configure a server by hand: Nginx, process managers and deployment scripts. This course adds a platform layer on top, so you get dashboards, Git deployments and previews without building them yourself.

Is self-hosting always cheaper?

Not always. Server costs are usually lower, but you take on maintenance time and responsibility for security and backups. We help you weigh both.

Which should I choose, Coolify or Dokploy?

Both are active open-source projects with similar goals. We use Coolify for most of the course and Dokploy in module 10, so you can compare them on the same workloads and choose.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.