Skip to content

Choose a setup method ​

Statora is one container image, ghcr.io/timothestoifl24/statora, plus a PostgreSQL database and a Redis instance. How you run those three is up to you:

MethodGood forGuide
Docker ComposeMost installations: one host, everything in one fileDocker Compose
DockerHosts where you manage containers by hand, or already have PostgreSQLDocker
KubernetesClusters; several replicas behind an IngressKubernetes

Requirements ​

  • Container runtime: Docker 24+ or Podman 4+ (with the Compose plugin for the Compose setup), or Kubernetes 1.27+.
  • PostgreSQL 14 or newer. The examples and CI use PostgreSQL 18.
  • Redis 6 or newer. The examples and CI use Redis 8.8. Redis only holds caches, locks and short-lived state, so it doesn't need persistence or backups.
  • Resources: about 200 MB of RAM for the app. A few hundred monitors fit comfortably on one small VM.
  • Network: outbound access to whatever you monitor. Ping checks need unprivileged ICMP; each guide shows how to allow it.

What happens on first start ​

  1. The app applies its database migrations. They are serialized, so several replicas can start at once.
  2. One replica becomes the scheduler leader and starts checking monitors.
  3. The web UI comes up on port 8000.

Then create the first admin:

bash
statora create-admin          # inside the container, see your guide for the exact command

After installing ​