Requirements
HivePaaS installs on one Linux server, which becomes the manager of a Docker Swarm. More servers can join it later, as workers.
The server
- Linux, and root access: the installer runs as root, with
sudo. - A distribution the installer knows:
- Debian, Ubuntu, and their derivatives;
- Fedora, RHEL, CentOS, Rocky Linux, AlmaLinux, Oracle Linux and Amazon Linux;
- SLES and openSUSE;
- Arch and Manjaro.
- 4 CPUs, 8 GB of memory and a 100 GB disk are recommended. HivePaaS runs on less, with less room left for your apps: the installer warns and goes on.
A fresh server is best. The installer installs what is missing itself.
Docker
HivePaaS needs Docker 29 or newer.
- Docker is missing: the installer offers to install it.
- Docker is older than 29: the installer offers to upgrade it. Upgrading restarts the containers already running.
- Amazon Linux: its own Docker is too old, so the installer installs Docker's, from Docker's RHEL 9 repository, in its place.
- Docker labels its containers for SELinux, as openSUSE's does: HivePaaS's
services cannot run so. The installer turns it off and restarts Docker:
"selinux-enabled": falsein/etc/docker/daemon.json. SELinux still guards the rest of the server, as with Docker's own packages, which leave it off. - The server is already in a swarm: it must be a manager, not a worker.
- Docker's address pools stay out of 10.0.0.0/8: a swarm takes its
networks' addresses from 10.0.0.0/8. If
default-address-poolsin/etc/docker/daemon.jsongives Docker's own networks addresses from that range too, the two clash and the swarm's networks cannot start. The installer stops if they do: see A network cannot start.
Network
- Ports 80 and 443 must be free. Traefik, the proxy in front of HivePaaS and your apps, takes them. The installer stops if something else, such as a web server, listens on either.
- Ports 80 and 443 must be open to the internet. Let's Encrypt reaches port 80 to issue certificates.
- The server must reach the internet, to download Docker, HivePaaS's images and release files from GitHub, and its certificates from Let's Encrypt.
- The license portal, once a license key is installed. HivePaaS asks
portal.hivepaas.com, over HTTPS, for a renewed key once a day, unless that is turned off. Without a key it never does. See Renewal and privacy.
Domains
HivePaaS needs a domain for its dashboard, such as hivepaas.example.com, and
gives your apps subdomains of a root domain, such as example.com.
Point these DNS records at the server's public IP address:
| Record | For |
|---|---|
hivepaas.example.com | the dashboard |
*.example.com, wildcard | your apps |
The records can come after the install. Until then, the dashboard answers at the server's IP address, with a self-signed certificate.
Next
Install HivePaaS, answering the installer's questions, or install it silently, from a settings file.