Install
Heptapod runs as a set of Docker Compose services on one Linux server: the app, queue workers, a scheduler, PostgreSQL, Redis and a Caddy proxy with automatic TLS. The installer downloads the latest release, writes the configuration, generates secrets, starts the stack and creates the first Owner account.
curl -fsSL https://heptapod.watch/install.sh | sudo bash -s -- --domain monitor.example.comServer size
Section titled “Server size”Use a server outside the infrastructure you monitor. Checks run from this server: a failure means the site could not be reached from there.
| Setup | Minimum | Example (Hetzner) |
|---|---|---|
| Without Lighthouse | 2 vCPU, 4 GB RAM, 40 GB disk | CX23 or CAX11 |
| With Lighthouse (default) | 4 vCPU, 8 GB RAM, 80 GB disk | CX33 or CAX21 |
Lighthouse needs the browser services, which the installer enables by default.
On a 4 GB server, pass --without-browser. The release images, such as
ghcr.io/heptapodwatch/heptapod-app, exist for amd64 and arm64, so either architecture
works. Keep at least 12 GiB free for Docker: 6 GiB for the images and 6 GiB for
backups. Capacity depends on the mix of checks, not only on the number of sites.
Install
Section titled “Install”-
Use a Linux server (amd64 or arm64). Ubuntu and Debian are tested; on other distributions, install Docker first as described in Other Linux distributions. Point an A record (and AAAA only with working IPv6) for your monitoring domain at the server. Allow inbound TCP 22, 80 and 443. The default mode needs host ports 80 and 443 free. If another web server or proxy holds them, use
--behind-proxy(see below). -
Run the installer with your domain and the email address of the first Owner. Add
--without-browseron a 4 GB server.shell curl -fsSL https://heptapod.watch/install.sh | sudo bash -s -- --domain monitor.example.com --owner-email you@example.comThe installer downloads the latest release bundle, checks its SHA-256 checksum, unpacks it into
/opt/heptapodand runs the bundle’sscripts/install.sh. Git is not needed. Docker Engine with Compose v5 must be installed. If it is missing, the installer stops and shows the same command with--install-docker, which installs Docker from Docker’s apt repository on Ubuntu and Debian.--version vX.Y.Zinstalls a specific release,--dirchanges the directory.If a check fails, the installer says what is wrong, what to run next and which page explains it; nothing is created before the checks pass, so rerunning is safe.
-
The installer creates
.env.prodwith generated secrets, starts the stack and waits until every service is healthy. It prints the Owner password once. Store it in a password manager. -
Open
https://monitor.example.comand sign in. Public registration is disabled; invite everyone else from Settings → Members.
Running the installer again keeps the existing configuration and secrets. It does not start or restart the instance, but prints the upgrade command.
Install from a Git checkout
Section titled “Install from a Git checkout”Use this path to install from source.
-
Install Docker Engine with Docker Compose v5, Git and OpenSSL. Point the domain at the server and open the ports as above.
-
Add your account to the
dockergroup, log out and log back in. Continue only whendocker psworks withoutsudo. -
Clone the release and run the installer with your domain and the email address of the first Owner. Add
--without-browseron a 4 GB server.shell REPOSITORY_URL='https://github.com/heptapodwatch/heptapod.git'RELEASE_TAG='v0.22.0'INSTALL_DIR="$HOME/heptapod"git clone --depth 1 --branch "$RELEASE_TAG" "$REPOSITORY_URL" "$INSTALL_DIR" && cd "$INSTALL_DIR" && ./scripts/install.sh --domain monitor.example.com --owner-email you@example.comThe script then works as in the steps above.
If the clone failed, remove its partial directory before you clone again. Never remove an existing installation or its data.
For your own commands in the installation directory, define a short alias:
dc() { docker compose --env-file .env.prod "$@"; }dc psBehind an existing reverse proxy
Section titled “Behind an existing reverse proxy”If another proxy already terminates TLS on the server, publish the app on a loopback port instead of starting Caddy on 80 and 443:
curl -fsSL https://heptapod.watch/install.sh | sudo bash -s -- --domain monitor.example.com --behind-proxy --port 8380In a Git checkout, pass the same options to ./scripts/install.sh.
Forward HTTPS to http://127.0.0.1:8380, including WebSocket upgrades for
/app/*; without them, live updates fall back to polling. After the install,
the installer prints the TRUSTED_PROXIES line to add to .env.prod. Without
it, signed links such as email verification fail behind the proxy. Never set it
to *.
Send email
Section titled “Send email”Alerts in this release go out by email. The default configuration only writes
mail to the log. Set your SMTP server in .env.prod, then recreate the
containers as described in configuration.
Next steps
Section titled “Next steps”Add your first site. Set up backups before you rely on the instance, and read updating before the first upgrade. For a complete walkthrough on a fresh VPS, see the Hetzner example.