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 forever90
RUST_LOGLog filter, e.g. info or server=debugNone

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.