On this page

Stamon is configured with environment variables.

VariableDescriptionDefault
JWT_SECRETSecret used to sign login tokensRequired
DATA_PATHDirectory for the SQLite database; created if missingRequired (/app/data in the Docker image)
ASSETS_PATHDirectory of the built frontendassets (/assets/ in the Docker image)
LOG_RETENTION_DAYSDays to keep check logs and alert history; 0 keeps them forever. An admin can override it in Settings → General90
RUST_LOGLog filter, e.g. info or server=debugNone
DEMO_MODERun as a public sandbox: seed sample data and a shared demo account, check only public addresses, and turn off alerts, Docker and database checks, and account management. Only for instances anyone can usefalse

Settings

Admins can change some settings from Settings → General in the dashboard without restarting. They are stored in the database and take precedence over the environment:

  • Data retention, which overrides LOG_RETENTION_DAYS.
  • New service defaults: the check interval, timeout, retries and retry interval a new service starts with.

Each user can set their own timezone and password under Settings → Account.

Network

  • The server listens on port 3000 on all interfaces. The port can't be changed; with Docker, publish it on another port with -p 8080:3000.
  • Stamon must be served from the root of its domain (https://status.example.com/), not a sub-path like /stamon/.
  • For anything beyond localhost, serve it over HTTPS. See Reverse proxy.

Sign-in tokens

Tokens are signed with JWT_SECRET and last 60 minutes. Changing the secret signs everyone out.