# CapRover

CapRover is a self-hosted Platform-as-a-Service (PaaS) for deploying apps, databases, and web servers with one command.

Canonical page: https://ourlocalhost.com/app/7852/caprover

## Description

CapRover is a self-hosted Platform-as-a-Service (PaaS) for deploying apps, databases, and web servers with one command. It runs your NodeJS, Python, PHP, Ruby, Go, and database (MySQL, MongoDB, Postgres) workloads on Docker Swarm with a customizable Nginx reverse proxy, automatic Let's Encrypt HTTPS, and a one-click app catalog. Aimed at homelabbers and small teams who want Heroku-style push-to-deploy on their own server, with both a CLI and a web dashboard, no lock-in, and a documented minimum of 1 GiB RAM and 5 GiB disk.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

77/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 11 days ago)
- Popular: 84 (15,210 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 70 (1 GB minimum RAM)
- Security check: 78 (no serious findings, CI, tests, OpenSSF Scorecard 4.6/10)

## Links

- Official website: https://CapRover.com
- GitHub: https://github.com/caprover/caprover
- Documentation: https://caprover.com

## Common questions

### Which ports do I need to open for CapRover to work?

Ports 80, 443, and 3000 must be open, plus SSH (port 22). Port 3000 serves the setup dashboard; only enable UFW after allowing SSH so you don't lock yourself out.

### App builds fail on my small VPS due to memory—how do I fix it?

Create a 2 GiB swapfile for extra breathing room and add an entry to /etc/fstab so it persists across reboots.

### Can I customize the NGINX config for my app?

Yes—open the app's full NGINX template under HTTP Settings to add custom headers, IP rules, basic auth, caching, redirects, larger uploads (client_max_body_size), or custom proxy timeouts.

### Can I set memory limits or override Docker settings for an app?

Use the JSON/YAML Service Update Override in App Configs for things like memory limits, read-only mounts, or healthchecks, or use a JavaScript Pre-Deploy Function.

### How do I scale CapRover beyond one server?

Docker Swarm is built in: provision the built-in private registry (or attach your own), republish builds, and join worker nodes for stateless replicas. Local volumes stay on their original node.

## Alternatives

- BitNami Application Stacks: BitNami Stacks make it incredibly easy to deploy your favorite open source software.
- Cloudron: Cloudron is a self-hosting platform for running and maintaining web apps on your own server.
- Coolify: Coolify is an open-source, self-hostable platform for deploying web applications, databases, and managed services as an alternative to Hero…
- DebOps: DebOps is a free and open-source Ansible framework for managing Debian- and Ubuntu-based infrastructure, described as 'your Debian-based da…
- DockSTARTer: DockSTARTer is a command-line tool that helps you quickly set up and manage home server apps running in Docker.
- Dockhand: Dockhand is a self-hosted, web-based Docker management platform that gives you a single dashboard to deploy containers, manage stacks, trac…
- Dokku: A Docker-powered platform that lets you deploy Heroku-compatible applications via Git, with buildpack support and container isolation.
- Easypanel: Easypanel is a self-hosted platform as a service (PaaS) that lets you deploy applications and 750+ open-source services on your own server.
- FreedomBox: FreedomBox is a free-software personal server designed for non-experts, letting you run your digital life from home instead of relying on t…
- Heroku: Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
- HomelabOS: Your offline-first privacy-centric personal data center.
- Kubero: Kubero is a self-hosted Platform as a Service (PaaS) that lets developers deploy applications to Kubernetes without specialized knowledge.

---
Source: Our Local Host (https://ourlocalhost.com/app/7852/caprover), the self-hosted and open-source app directory.
