ScriptsApr 10, 2026·3 min read

CapRover — Automated Docker Deployment PaaS with Web UI

CapRover is an open-source PaaS (Heroku on Steroids) with a beautiful web UI, one-click apps, automatic HTTPS, and Docker Swarm support. Deploy any app in seconds.

TL;DR
Open-source PaaS with web UI, one-click app deployment, automatic HTTPS, and Docker Swarm for self-hosted cloud.
§01

What it is

CapRover is an open-source Platform-as-a-Service that simplifies Docker deployment. It provides a web dashboard for managing applications, automatic HTTPS via Let's Encrypt, one-click app installs (WordPress, MongoDB, PostgreSQL, and dozens more), and Docker Swarm clustering for horizontal scaling.

CapRover targets solo developers, small teams, and anyone who wants a Heroku-like deployment experience on their own server. You get the convenience of a managed platform without the per-dyno pricing.

§02

How it saves time or tokens

Setting up Docker, Nginx reverse proxy, SSL certificates, and CI/CD for each application takes hours of configuration. CapRover handles all of this through a web UI and CLI. A new app goes from git push to running HTTPS endpoint in under a minute. The one-click app store eliminates Dockerfile writing for common services.

§03

How to use

  1. Install CapRover on a VPS with Docker pre-installed.
  2. Point a wildcard DNS record to your server.
  3. Deploy apps via the web UI or the caprover CLI.
# Install CapRover on your server
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-data:/captain \
  caprover/caprover

# Install the CLI locally
npm install -g caprover

# Deploy an app
caprover deploy
# Follow the prompts to select your app and push code
§04

Example

# captain-definition file (CapRover's deployment config)
{
  "schemaVersion": 2,
  "dockerfilePath": "./Dockerfile"
}

# Dockerfile for a Node.js app
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]
§05

Related on TokRepo

§06

Common pitfalls

  • CapRover requires ports 80, 443, and 3000 to be available. If another service (like Nginx or Apache) occupies these ports, the installation fails silently.
  • Wildcard DNS is mandatory for automatic subdomain routing. Without it, each app needs manual DNS configuration.
  • Docker Swarm mode is enabled automatically; if you previously configured standalone Docker, some containers may conflict with Swarm's networking.

Frequently Asked Questions

How does CapRover compare to Coolify or Dokku?+

CapRover provides a web UI out of the box with one-click app installations. Dokku is CLI-only and closer to a mini-Heroku. Coolify is a newer alternative with a modern UI and similar features. CapRover has the largest one-click app catalog and longest track record among self-hosted PaaS options.

Can CapRover scale to multiple servers?+

Yes. CapRover uses Docker Swarm for clustering. You can add worker nodes to distribute containers across multiple servers. The web UI manages the cluster from a single dashboard. For most small-to-medium workloads, a single server is sufficient.

Does CapRover handle SSL certificates automatically?+

Yes. CapRover integrates with Let's Encrypt to provision and renew SSL certificates automatically. Once you enable HTTPS for an app, CapRover handles certificate issuance and renewal without manual intervention.

What kind of apps can I deploy on CapRover?+

Any application that runs in Docker can be deployed on CapRover. This includes Node.js, Python, Go, Ruby, PHP, Java, and static sites. The one-click app store also provides pre-configured databases, caches, and services like PostgreSQL, Redis, and MongoDB.

Is CapRover suitable for production workloads?+

CapRover is used in production by many small teams and solo developers. For high-traffic applications, you should configure proper monitoring, backups, and Docker Swarm clustering. CapRover itself adds minimal overhead on top of Docker.

Citations (3)

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets