CapRover Server Deployment Overview¶
Prerequisites¶
To ensure successful deployment, the following conditions must be met:
-
Operating System: Debian (or an APT-based distribution).
-
Access Rights: A user with
rootprivileges. -
Domain Zone:
hostkey.in. -
Open Ports: 80, 443, 3000.
FQDN of the final panel on hostkey.in domain¶
The following template is used for Wildcard DNS:
| Parameter | Value |
|---|---|
| Prefix | caprover |
| Domain | hostkey.in |
| Full Template | caprover{Server_ID_from_Invapi}.hostkey.in |
Application Installation Process¶
Installation is performed by deploying the CapRover container using Docker. During the preparation process, the system updates APT packages and configures a Wildcard A record for the domain zone.
Docker Containers and Execution¶
The application runs in a Docker environment. The core component is the CapRover management container.
| Parameter | Value |
|---|---|
| Image Name | caprover/caprover |
| Ports | 80:80, 443:443, 3000:3000 |
| Volumes | /var/run/docker.sock:/var/run/docker.sock, /captain:/captain |
| Environment Variables | ACCEPTED_TERMS=true |
| Restart Policy | Not explicitly specified (default for Docker run) |
Application Update¶
Updates are performed by updating the image and restarting containers. To update to the latest version, you must execute:
(or an equivalent command to restart the current container).Available Ports for Connection¶
The following ports must be available for service management and operation:
-
80: HTTP traffic. -
443: HTTPS traffic. -
3000: CapRover control panel.