Levelrail
Skip to content

Self-host Uptime Kuma (MariaDB) with Docker ​

Uptime Kuma with a MariaDB sidecar provisioned, for the setups that opt out of its default SQLite file.

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

Project site: https://github.com/louislam/uptime-kuma/wiki.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
mariadbmariadb:11none
uptime_kuma_mariadb_data -> /var/lib/mysql
uptime-kumalouislam/uptime-kuma:23001
uptime_kuma_mariadb_app_data -> /app/data

Environment variables ​

ServiceVariableValue
mariadbMYSQL_DATABASEPreset in the template
mariadbMYSQL_PASSWORDGenerated at deploy
mariadbMYSQL_ROOT_PASSWORDGenerated at deploy
mariadbMYSQL_USERGenerated at deploy
uptime-kumaTZPreset in the template

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 Uptime Kuma (MariaDB) with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Uptime Kuma (MariaDB). Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy uptime-kuma-mariadb --name my-uptime-kuma-mariadb

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.