Self-host Bugsink on a VPS
A self-hosted, lightweight error tracking server with a Sentry-compatible SDK ingestion API.
levelrail-cli templates deploy bugsink --name my-bugsinkSpecification
- Status
- Listed
- Category
- Monitoring
- Services
- mysql, web
- Ports
- 8000
- Volumes
- 1
- Memory
- about 512 MiB
- arm64
- image published
- amd64
- image published
- Settings to fill in
- none
- License
- not yet recorded
About Bugsink
A self-hosted, lightweight error tracking server with a Sentry-compatible SDK ingestion API. Runs 2 containers (mysql, web), with web listening on port 8000; data is kept in named volumes.
What it deploys
Bugsink runs as 2 services in a single Compose app, listening on port 8000, with 1 named volume mount.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| mysql | mysql | 8.4 | none | bugsink_mysql_data -> /var/lib/mysql |
| web | bugsink/bugsink | latest | 8000 | none |
Before you install
- CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
- Host ports. It publishes port 8000 directly on the host, so open them in the VPS firewall only if you want that.
- Review. Image is not pinned to a version tag, so a redeploy can pull different code (bugsink/bugsink:latest).
Settings and environment
You do not have to fill in anything. 5 secrets are generated at deploy and stored encrypted. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| mysql | MYSQL_DATABASE | Preset by the template |
| mysql | MYSQL_PASSWORD | Generated at deploy |
| mysql | MYSQL_ROOT_PASSWORD | Generated at deploy |
| mysql | MYSQL_USER | Preset by the template |
| web | BASE_URL | Preset by the template |
| web | BEHIND_HTTPS_PROXY | Preset by the template |
| web | CREATE_SUPERUSER | Generated at deploy |
| web | DATABASE_URL | Generated at deploy |
| web | SECRET_KEY | Generated at deploy |
Install Bugsink on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get bugsink -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy bugsink --name my-bugsink
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Bugsink.
Docs and upstream
More in Monitoring
- Blackbox ExporterA Prometheus exporter that probes endpoints over HTTP, HTTPS, DNS, TCP and ICMP and reports the results as metrics. It ships with the standard probe modules.
- BeszelA lightweight server monitoring hub with historical stats for CPU, memory, disk, and network.
- Changedetection.ioMonitor any webpage for changes and get notified the moment content updates.
- CheckmateAn open-source uptime and server monitoring app with incident history and status pages.
- ChronografA web interface to explore, graph and alert on time series stored in InfluxDB. Add your InfluxDB connection from the first screen; it has no login of its own, so restrict who can reach it.
- AlertmanagerPrometheus Alertmanager: groups, deduplicates and routes alerts to email, Slack, webhooks and on-call tools.