DevOps12 min read•Updated November 2026

VPS Hosting for CapRover

Quick answer

CapRover is an open-source platform that turns a VPS into your own app hosting service, using Docker Swarm for orchestration and Nginx for routing, with Let's Encrypt certificates. To run it, prepare a fresh Linux VPS with Docker, open the required ports, start the CapRover container, and complete setup with the CLI using a wildcard domain pointed at the server. Deploy apps with a captain-definition file or Dockerfile from the CLI, a Git webhook or an uploaded tarball, install databases and tools from one-click apps, mark data directories as persistent, enable HTTPS per app, back up regularly, and add nodes to the Swarm cluster when you need more capacity.

CapRover has been around for years and is known for being straightforward: a web dashboard, a CLI, a one-click app catalogue and sensible defaults. It suits developers and small teams who want Heroku-style convenience without per-app pricing, and who are comfortable with Docker underneath when needed.

How CapRover Works

  • Docker Swarm runs each app as a service, enabling multiple instances and multi-node clusters.
  • Nginx routes requests by domain to the right app and can be customised per app.
  • Let's Encrypt provides free certificates for the root domain and each app.
  • NetData integration provides server metrics in the dashboard (optional).

See our Docker Swarm guide if you want to understand the layer underneath.

Requirements and Ports

Use a fresh VPS with a supported Linux distribution and Docker installed from Docker's official repositories. CapRover's documentation lists the minimum memory (very small apps can run on 1 GB, but builds need more) and the ports to open: 80 and 443 for web traffic, 3000 for the initial dashboard setup, 996 for the internal registry, and the Swarm ports 2377, 7946 and 4789 if you build a cluster. Allow Swarm ports only between cluster nodes.

Installation and Setup

  1. Point a wildcard DNS record such as *.apps.example.com at the server's IP.
  2. Run the CapRover container using the command from the official documentation.
  3. Install the CLI on your computer and run caprover serversetup to set the root domain, a new password and HTTPS.
  4. After HTTPS is enabled, force HTTPS for the dashboard and block port 3000 in the firewall.

Deploying Apps

Create an app in the dashboard, then deploy using one of several methods:

  • caprover deploy from your project directory, which uploads source and builds it on the server.
  • A webhook from GitHub, GitLab or Bitbucket for automatic deploys on push.
  • A prebuilt image from a registry, built in CI so the server does not spend CPU on builds.
  • An uploaded tarball through the dashboard.

A captain-definition file in your repository tells CapRover how to build, typically by pointing to a Dockerfile. Set the container HTTP port, environment variables and instance count in the app settings.

One-Click Apps

The one-click catalogue installs databases (PostgreSQL, MySQL, MongoDB, Redis) and popular tools in minutes. Review what each template configures, pin versions, and set strong passwords. One-click databases are not automatically backed up; you must arrange backups yourself.

Persistent Data

Containers are replaced on every deploy, so anything written inside them is lost unless the path is declared persistent. In the app settings, mark the app as having persistent data and map volumes for directories such as uploads or database data. Persistent apps should usually run one instance, pinned to a node, because local volumes are not shared across nodes.

Domains and HTTPS

Each app gets a subdomain under the root domain automatically, and you can attach custom domains. Enable HTTPS per domain and force redirects from HTTP. Make sure DNS points to the server before requesting a certificate, to avoid hitting Let's Encrypt rate limits with repeated failures.

Clustering

CapRover can add worker nodes to its Swarm cluster from the dashboard, so stateless apps can run several instances across servers. To pull images on every node, CapRover uses a registry (its own self-hosted registry on port 996, or a remote one). Keep stateful services on a single fixed node, or on separate database servers.

Backups

  • Use CapRover's configuration backup feature to save platform settings, and store copies off-site.
  • Back up databases with application-aware dumps on a schedule, uploaded to object storage.
  • Back up persistent volumes for uploads and other files.
  • Keep app source and captain-definition files in Git.

Security

  • Change the default password during setup and use a long, unique password.
  • Force HTTPS for the dashboard and close port 3000 afterwards.
  • Restrict the dashboard by IP where practical.
  • Do not expose database ports publicly; apps reach them over the internal network.
  • Keep the OS, Docker and CapRover updated.

Maintenance

Old images build up with every deploy. Use the dashboard's disk cleanup or Docker prune commands on a schedule and monitor disk space. Update CapRover following the documented procedure after reading the changelog, with a backup taken first.

Sizing

UseSuggested plan
Hobby and small business apps with a database2 vCores / 8 GB
Several production apps with server-side builds4 vCores / 16 GB
Clustered stateless appsA manager plus 4–8 vCore worker nodes

CapRover Among the Alternatives

CapRover is stable and simple. Coolify and Dokploy are newer, with more modern dashboards and features such as preview deployments (see our Coolify and Dokploy guides). Dokku is the most minimal, command-line choice (Dokku guide).

Example: A Small Agency

An agency hosts twelve client websites and APIs on a 4 vCore / 16 GB CapRover server. Images are built in CI and deployed by webhook, PostgreSQL runs as a one-click app with nightly dumps to object storage, uploads use persistent volumes, and disk cleanup runs weekly.

Common Mistakes

  • Forgetting to mark upload directories as persistent and losing files on deploy.
  • Assuming one-click databases are backed up.
  • Leaving port 3000 open after setup.
  • Running several instances of an app that writes to a local volume.
  • Never pruning old images.

In Short

CapRover turns a VPS into a simple app platform. Set it up with a wildcard domain and HTTPS, deploy with captain-definition files or prebuilt images, declare persistent data, back up databases yourself, and scale stateless apps by adding nodes.

SkyRainCloud Plans for This Workload

CapRover is light; builds and apps decide the plan. 2 vCores / 8 GB runs several small apps and databases; 4 vCores / 16 GB suits frequent builds or busier apps.

AMD EPYC 7C13 VPS

Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — AMD28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthWebsites, small APIs, bots, staging and VPN serversOrder
VPS 2 — AMD416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,299/monthWooCommerce, Node.js/Python backends, Docker Compose stacks, CI runnersOrder
VPS 3 — AMD832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,499/monthProduction databases, high-traffic sites, multi-container appsOrder
VPS 4 — AMD1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,899/monthLarge production workloads, SaaS platforms, analytics, in-memory cachesOrder

Intel Xeon Platinum 8269CY VPS

KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — Intel28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthBusiness websites, small apps, scheduled jobs and botsOrder
VPS 2 — Intel416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,169/monthBusiness software, mid-size databases, several sites on one serverCheck stock
VPS 3 — Intel832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,249/monthERP/CRM stacks, heavier databases, multiple production appsCheck stock
VPS 4 — Intel1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,299/monthHigh-memory workloads and consolidated production serversCheck stock

Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.

Frequently Asked Questions

What is CapRover?
An open-source platform that deploys apps on your servers using Docker Swarm and Nginx, with a dashboard, CLI and one-click apps.
Which ports does CapRover need?
80 and 443 for web traffic, 3000 for initial setup, 996 for the internal registry, and Swarm ports 2377, 7946 and 4789 between cluster nodes.
Do I need a wildcard domain?
Yes, a wildcard DNS record pointing at the server lets CapRover give each app its own subdomain.
What is a captain-definition file?
A small file in your project that tells CapRover how to build the app, usually by referencing a Dockerfile.
Why did my uploaded files disappear after deploying?
The directory was not declared persistent; map it as a persistent volume in the app settings.
Are one-click databases backed up automatically?
No. Schedule your own database dumps and store them off-site.
Can CapRover run on several servers?
Yes. Add worker nodes to its Swarm cluster to run stateless apps across servers.
How do I get HTTPS for apps?
Enable HTTPS per domain in the dashboard; CapRover requests Let's Encrypt certificates automatically.
Should builds run on the CapRover server?
They can, but on small servers it is better to build images in CI and deploy them.
Which plan suits CapRover?
2 vCores / 8 GB for small apps; 4 vCores / 16 GB for several production apps with server-side builds.
Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning