Levelrail
Skip to content

Self-host Leantime with Docker ​

A goals-focused project management tool built for people who aren't professional project managers.

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

Project site: https://docs.leantime.io.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbmysql:8.4none
leantime_db_data -> /var/lib/mysql
leantimeleantime/leantime:3.5.68080
leantime_userfiles -> /var/www/html/userfiles
leantime_public_userfiles -> /var/www/html/public/userfiles
redisredis:7-alpinenone
leantime_redis_data -> /data

Environment variables ​

ServiceVariableValue
dbMYSQL_DATABASEPreset in the template
dbMYSQL_PASSWORDGenerated at deploy
dbMYSQL_ROOT_PASSWORDGenerated at deploy
dbMYSQL_USERPreset in the template
leantimeLEAN_DB_DATABASEPreset in the template
leantimeLEAN_DB_HOSTPreset in the template
leantimeLEAN_DB_PASSWORDGenerated at deploy
leantimeLEAN_DB_USERPreset in the template
leantimeLEAN_REDIS_HOSTPreset in the template
leantimeLEAN_REDIS_PORTPreset in the template
leantimeLEAN_SESSION_PASSWORDGenerated at deploy
leantimeLEAN_USE_REDISPreset 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 Leantime with Levelrail ​

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

With the CLI:

levelrail-cli templates deploy leantime --name my-leantime

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

More Productivity templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.