Self-host Leantime on a VPS
A goals-focused project management tool built for people who aren't professional project managers.
levelrail-cli templates deploy leantime --name my-leantimeSpecification
- Status
- Listed
- Category
- Productivity
- Services
- db, leantime, redis
- Ports
- 8080
- Volumes
- 4
- Memory
- about 512 MiB
- arm64
- image published
- amd64
- image published
- Settings to fill in
- none
About Leantime
A goals-focused project management tool built for people who aren't professional project managers. Runs 3 containers (db, leantime, redis), with leantime listening on port 8080; data is kept in named volumes.
What it deploys
Leantime runs as 3 services in a single Compose app, listening on port 8080, with 4 named volume mounts.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| db | mysql | 8.4 | none | leantime_db_data -> /var/lib/mysql |
| leantime | leantime/leantime | 3.5.6 | 8080 | leantime_userfiles -> /var/www/html/userfilesleantime_public_userfiles -> /var/www/html/public/userfiles |
| redis | redis | 7-alpine | none | leantime_redis_data -> /data |
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 8080 directly on the host, so open them in the VPS firewall only if you want that.
Settings and environment
You do not have to fill in anything. 4 secrets are generated at deploy and stored encrypted. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| db | MYSQL_DATABASE | Preset by the template |
| db | MYSQL_PASSWORD | Generated at deploy |
| db | MYSQL_ROOT_PASSWORD | Generated at deploy |
| db | MYSQL_USER | Preset by the template |
| leantime | LEAN_DB_DATABASE | Preset by the template |
| leantime | LEAN_DB_HOST | Preset by the template |
| leantime | LEAN_DB_PASSWORD | Generated at deploy |
| leantime | LEAN_DB_USER | Preset by the template |
| leantime | LEAN_REDIS_HOST | Preset by the template |
| leantime | LEAN_REDIS_PORT | Preset by the template |
| leantime | LEAN_SESSION_PASSWORD | Generated at deploy |
| leantime | LEAN_USE_REDIS | Preset by the template |
Install Leantime 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 leantime -
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 leantime --name my-leantime
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Leantime.
Docs and upstream
More in Productivity
- LanguageToolA multilingual grammar, style and spell checking server with an HTTP API at /v2/check. LGPL-2.1 licensed. Runs the community server image in one container without the optional n-gram data. There is no web login, so keep the address private or put it behind an access rule.
- LibreOffice (Remote Desktop)A full LibreOffice desktop running in a container, reachable from any browser, for editing office documents.
- LimeSurveyA mature, self-hosted online survey tool for building and analyzing anonymous surveys.
- LinkAceA self-hosted bookmark archive with tags, lists, link checks and a REST API. GPL-3.0 licensed. Runs on SQLite in one container. On first open, register the admin account; the public address you assign is used as the app URL, so assign the domain before the first visit.
- LinkdingA minimal, fast bookmark manager built for keeping a personal link archive.
- Linkding PlusLinkding's extended image with full-page snapshot archiving bundled in, for bookmarks that must survive link rot.