A lightweight self-hosted status monitoring tool, written in Rust.
8.6K
A lightweight, self-hosted status monitoring tool written in Rust.
Stamon checks your websites, servers, databases and background jobs, alerts you when something goes down, and gives you public status pages to share with your users. It runs as a single binary backed by SQLite.
GitHub · Documentation · Usage guide · Issues
docker run -d \
--name stamon \
-e JWT_SECRET="$(openssl rand -base64 48)" \
-p 3000:3000 \
-v stamon-data:/app/data \
k4htoo/stamon
Open http://localhost:3000 and register. The first account becomes the admin. After that, registration closes and admins add users.
services:
stamon:
image: k4htoo/stamon
restart: unless-stopped
environment:
JWT_SECRET: "replace-with-a-long-random-secret"
ports:
- "3000:3000"
volumes:
- stamon-data:/app/data
volumes:
stamon-data:
docker compose up -d
| Variable | Default | Description |
|---|---|---|
JWT_SECRET | required | Secret used to sign login tokens. Use a long random value, e.g. openssl rand -base64 48. |
DATA_PATH | /app/data | Directory for the SQLite database. |
ASSETS_PATH | /assets/ | Directory of the built web interface. |
LOG_RETENTION_DAYS | 90 | Days to keep check logs and alert history; 0 keeps them forever. |
RUST_LOG | Log filter, e.g. info or server=debug. |
| Port | 3000 (publish it on another port with -p 8080:3000) |
| Volume | /app/data holds the database. Mount a volume so data survives container updates. |
Docker checks read container state from the Docker API. To monitor containers on the same host, mount the Docker socket (read-only is enough):
services:
stamon:
image: k4htoo/stamon
volumes:
- stamon-data:/app/data
- /var/run/docker.sock:/var/run/docker.sock:ro
Warning: access to the Docker socket is equivalent to root access on the host. Only mount it if you trust everyone who can manage monitors.
A daemon exposed over TCP (tcp://host:2375) also works. TLS-protected daemons aren't supported yet.
| Tag | Description |
|---|---|
latest | The latest release. |
0.3.0, 0.3 | A specific release, or the latest patch of a minor version. |
edge | Built from the main branch; may be unstable. |
sha-<commit> | Built from a specific commit. |
Images are published for linux/amd64 and linux/arm64.
docker compose pull && docker compose up -d
Database migrations run automatically on startup. Keep the /app/data volume between updates.
MIT. Stamon is in active development; feedback and contributions are welcome on GitHub.
Content type
Image
Digest
sha256:38a33270c…
Size
7.1 MB
Last updated
about 1 month ago
docker pull k4htoo/stamon