Levelrail
Skip to content

Self-host Wakapi with Docker ​

A self-hosted, WakaTime-compatible backend for tracking coding time and stats.

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

Project site: https://wakapi.dev.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
wakapi_db_data -> /var/lib/postgresql/data
wakapighcr.io/muety/wakapi:2.13.03000
wakapi_data -> /data

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERGenerated at deploy
wakapiWAKAPI_DB_HOSTPreset in the template
wakapiWAKAPI_DB_NAMEPreset in the template
wakapiWAKAPI_DB_PASSWORDGenerated at deploy
wakapiWAKAPI_DB_TYPEPreset in the template
wakapiWAKAPI_DB_USERGenerated at deploy
wakapiWAKAPI_SECURITY_PASSWORD_SALTGenerated 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 Wakapi with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy wakapi --name my-wakapi

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

More Developer Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.