Levelrail
Skip to content

Self-host Healthchecks with Docker ​

Cron job and scheduled task monitoring: get alerted the moment a periodic job stops checking in.

This page describes the Levelrail template for Healthchecks (Monitoring). It deploys the services below as one Docker Compose app on your own server.

Project site: https://healthchecks.io/docs/self_hosted/.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
healthchecks_db_data -> /var/lib/postgresql/data
healthcheckshealthchecks/healthchecks:v4.28000none

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
healthchecksALLOWED_HOSTSPreset in the template
healthchecksDBPreset in the template
healthchecksDB_HOSTPreset in the template
healthchecksDB_NAMEPreset in the template
healthchecksDB_PASSWORDGenerated at deploy
healthchecksDB_USERPreset in the template
healthchecksSECRET_KEYGenerated at deploy

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Healthchecks with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Healthchecks. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy healthchecks --name my-healthchecks

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Monitoring templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.