Skip to content

Command Palette

Search for a command to run...

Self-host CapRover

Platform-as-a-Service
prices checked · Jul 2026

A free, open-source PaaS that turns any Docker Swarm server into a one-click app deployment platform, with a built-in reverse proxy, free SSL, and a one-click app marketplace.

Heroku / yr$300
Self-hosted / yr~$55
You keep$245/yr

Key facts

CategoryPlatform-as-a-Service
LicenseApache-2.0
StackTypeScript, Node.js
Min RAM1024 MB
Dockeryes
Difficulty
Our recommendation

Pick CapRover when you want the fastest path from fresh VPS to "my app is live" — a one-command install, a web dashboard, a one-click app store, and a CLI, all on Docker Swarm. It's the most approachable of the self-hosted PaaS options; if you want a more modern UI or Git-native previews, Coolify and Dokploy are the newer takes.

What you need

  • Any VPS with at least 1024 MB of RAM
  • A domain you control — most self-hosted setups need HTTPS in front of them
  • Under an hour if you've used Docker before

Install with Docker Compose

Save this as compose.yml and run docker compose up -d:

# CapRover — official Docker Swarm install (ports 80/443/3000 are fixed)
docker run -p 80:80 -p 443:443 -p 3000:3000 -e ACCEPTED_TERMS=true \
  -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain caprover/caprover
# then open http://SERVER_IP:3000 (default password: captain42)

What you take on

CapRover is the easy on-ramp, but a few setup realities are worth knowing before you commit:

non-negotiableWildcard DNS up front. CapRover wants a wildcard domain (*.apps.example.com) pointed at the box before its HTTPS and subdomain routing work smoothly — sort DNS first.
non-negotiableSwarm and a mature architecture. It runs on Docker Swarm and its stack is proven rather than cutting-edge; that's stability, but also fewer of the modern niceties.
non-negotiableBack up the CapRover host. Its configuration and app definitions live on the server — snapshot them, because rebuilding a dozen one-click apps by hand is nobody's afternoon.

An alternative to

More in Platform-as-a-Service