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
- Basic Linux and SSH (see Linux Command Line for Developers)
- Familiarity with Docker images and containers (see Docker DevOps Basics)
- A VPS with at least 2 GB RAM and a domain name
Outcomes
By the end of this course you will be able to:
- Install and secure a self-hosted deployment platform on your own VPS.
- Deploy web apps, APIs and databases with Git-based automatic deployments and HTTPS.
- Set up backups you have actually tested restoring.
- 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
| Module | Topic |
|---|---|
| 1 | Self-hosted PaaS: what you gain and what you take on |
| 2 | Choosing and hardening a VPS |
| 3 | Installing Coolify |
| 4 | Deploying apps from Git |
| 5 | Domains, DNS and HTTPS |
| 6 | Databases and one-click services |
| 7 | Environment variables and secrets |
| 8 | Preview deployments |
| 9 | Backups and restores |
| 10 | Dokploy: setup and comparison |
| 11 | Monitoring, updates and multiple servers |
| 12 | Project: 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.