CapRover
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We were unable to fetch the official website this time. The content below is compiled from what is generally known about CapRover, so please refer to the official website and documentation for the exact details.
Introduction
CapRover (formerly CaptainDuckDuck) is an open-source, self-hostable PaaS (Platform as a Service) tool. It combines Docker, Docker Swarm, Nginx and Let's Encrypt, and provides a web admin interface and a command-line tool. Developers can deploy applications to their own VPS or server without writing complex server configuration by hand, with an experience similar to hosted PaaS offerings such as Heroku.
Key Features
- Multi-language app deployment: Supports Node.js, Python, PHP, Ruby, Go, Java, .NET and other kinds of applications, as long as they can be built with a Dockerfile.
- Multiple deployment methods: You can upload source code with the CLI, deploy automatically through Git webhooks (GitHub, GitLab, Bitbucket, etc.), upload a tar package, or specify a Docker image directly.
- One-click apps: A built-in library of one-click apps lets you quickly deploy common databases and services such as MySQL, PostgreSQL, MongoDB, Redis and WordPress.
- Automatic HTTPS: Integrates with Let's Encrypt to issue SSL certificates for your apps for free and renew them automatically.
- Nginx reverse proxy: Automatically configures load balancing and reverse proxying, and also supports custom Nginx configuration templates.
- Cluster scaling: Built on Docker Swarm, so you can add multiple nodes to form a cluster and scale apps horizontally.
- Web admin panel and CLI: The graphical interface lets you manage apps, environment variables, persistent directories, domains and port mappings, and you can also carry out deployments from the command line.
- Monitoring: Integrates NetData so you can view server resource usage.
Target Users and Use Cases
- Individual developers and small teams who want to get away from the costs and limitations of hosted PaaS such as Heroku and run their apps on their own servers.
- Users who need to run multiple websites, APIs and databases on a single VPS.
- Teams that want to quickly set up test or staging environments.
- Ops engineers who are familiar with Docker but don't want to maintain Nginx and certificate configuration by hand.
Core Advantages
- Free and open source with no vendor lock-in; the underlying layer is just standard Docker containers.
- Low barrier to entry: you can install it and deploy your first app in a few minutes.
- Built-in HTTPS, reverse proxy and one-click apps save a lot of repetitive configuration.
- Scales smoothly from a single machine to a multi-node cluster.
Installation and Deployment
- Prepare a Linux server with Docker installed (Ubuntu is officially recommended) and open ports 80, 443 and 3000.
- Point a wildcard domain (for example
*.apps.example.com) to the server's IP. - Run the official Docker image. The command looks roughly like this (refer to the official documentation for the exact version):
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
- Install the CLI locally and complete the initial setup:
npm install -g caprover
caprover serverbase setup
- Log in to the web panel, create an app, and then deploy with
caprover deployor a Git webhook.
Technical Requirements
- A Linux server with a Docker environment; at least 1GB of RAM is recommended.
- A domain name for which you can configure wildcard DNS resolution.
- Node.js / npm are required if you use the CLI locally.
Notable Characteristics
- App deployment relies on a
captain-definitionfile or a Dockerfile to describe how to build the app. - Data persistence is handled through Docker volumes or mounted directories, so you need to plan your own backups.
- Similar alternatives include Dokku, Coolify and Portainer.
Discover more
GitProxy
Deploy custom push protections and policies on top of Git
Outline Server
A proxy server that runs a Shadowsocks instance for each access key and a REST API to manage the access keys.
g3proxy
Enterprise-oriented Generic Proxy Solutions. Maintenance mode now, please switch to use [VEY](https://github.com/VEY-OSS/vey) for new development efforts
imagor
Fast, secure image processing server and Go library, using libvips
rathole
A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
socks5-proxy-server
SOCKS5 proxy server with built-in authentication and Telegram-bot for user management and user statistics on data spent (handy when you pay per GB of data). It is dockerised and simple to install.