Installing Stater
Choose between the Linux packages, the Docker Compose bundle and the Kubernetes chart, and what every install needs first.
See it in the tour: Install on your own server
On this page
Stater runs on your own servers. It is one Go binary with the web app built in, in front of PostgreSQL, and there are three ways to install it. Each works on every plan, Starter included.
Note. Stater is in early access. The release files and images are not public; request early access to get them.
Choose a way to install#
| Way | Runs on | Suits |
|---|---|---|
| Linux packages (.deb and .rpm) | Debian 12 or later, Ubuntu 22.04 or later, and RHEL, Rocky Linux or AlmaLinux 9 or later, on amd64 (x86_64) and arm64 (aarch64) | A hardened systemd service on a machine of your own, with the database on the same machine or elsewhere |
| Docker Compose | Docker with Compose v2, or Podman 4.4 or later, and about 2 GB of memory | PostgreSQL 17, two or more Stater servers and an HAProxy edge on one machine: a single server in a back office or a small cloud machine |
| Kubernetes (Helm) | Kubernetes 1.27 or later and Helm 3.8 or later | Stateless pods behind a Service and an optional Ingress, with probes, a PodDisruptionBudget, optional autoscaling and a ServiceMonitor |
PostgreSQL#
Stater needs PostgreSQL 16 or later; 17 recommended, and 17 is what it is tested with. A managed database (Amazon RDS, Azure, Cloud SQL) or an operator such as CloudNativePG works, and stater db init makes the database and a user with only the rights it needs. The database needs the pg_trgm extension, and backups need pg_dump and pg_restore at least as new as the database server. PgBouncer in transaction mode breaks live updates; use session mode or connect directly. See Database and backups.
One server, or several#
Replicas are stateless: sessions, the licence, live updates and the webhook outbox all live in PostgreSQL, so any replica can serve any request. Scaling is "add a replica", and failover is the load balancer's health check. Stater is tested with two replicas behind HAProxy. See Architecture.
Before anyone else can reach it#
- Finish setup straight away. Until an owner exists, whoever opens Stater first creates one. Open the public address yourself, or have the installer create the first owner.
- Keep the secret key apart from your backups. Each installer makes the key that encrypts saved integration passwords. A database backup does not hold it, so a restored database without it cannot read its saved passwords. See Secrets.
- Put TLS in front. Stater has no TLS of its own: use a reverse proxy, an ingress or a load balancer, and tell Stater which proxies to believe (
STATER_TRUSTED_PROXIES) so sign-in limits count each real client.
Checking a release#
Every release file is listed in SHA256SUMS, signed with cosign, and the image and chart are signed too. Each install page has the commands to check them before you install.
After installing#
- Upgrading: upgrading, going back and removing.
- Database and backups: health checks, scheduled backups and restoring.
- Email: setting up SMTP.
- Monitoring: health checks, metrics and alerts.
- Settings reference and Command line.