selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Leantime logo

Self-host Leantime

v3.15.3

Goal-driven project management for neurodivergent teams

ReleaseOpen SourceAGPL-3.0
Docker ComposeCompose file & guide
docker-compose up -d
Updated4 hours ago
LanguagePHP
Setup difficultyModerate
MobileNative app
ThemeDark mode
Stars
12 114
RAM
Minimum 512MB RAM (1GB recommended)
Port
8080 (Leantime web UI inside the container (published as ${LEAN_PORT:-8080}:8080 in the official compose file))
Requires
MySQL
Docker
leantime/leantime
My Work personal dashboard with tasks across projectsWork dashboard with customizable widgetsTime boxing tasks into the day calendarPersonal notes view on the work dashboardWhiteboard with a card wireframe

What is Leantime?

Leantime alternatives

All self-hosted alternatives to Asana → All self-hosted alternatives to ClickUp → All self-hosted alternatives to Jira →

Should you self-host Leantime?

Leantime scores 75/100 on selfhost.directory (how scoring works) and ranks #4 of 45 in Project Management. It has 12 114 GitHub stars, +295 in the last 30 days.

It shipped 30 stable releases in the past year. The latest, v3.15.3, came out on 16 November 2026. New versions land roughly every 3 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is Plane (86/100, 62 491 stars). It scores higher overall, so compare the two before you pick. See Leantime vs Plane side by side.

Features

  • Comments on content
  • Extensibility via plugins and API
  • File storage (local or S3)
  • Goal and metric tracking
  • Idea boards
  • Kanban, table, list and calendar task views
  • Milestones with timeline / gantt
  • Retrospectives
  • Role-based and per-project permissions
  • Screen and webcam recording
  • Sprint management
  • Subtasks and task dependencies
  • Time tracking and timesheets
  • Two-factor authentication
  • Wikis and documents

Leantime README

Leantime Logo

Leantime®

⭐ If you find Leantime useful, please star us on GitHub! ⭐

Leantime is an open source project management system for non-project managers.
We combine strategy, planning and execution while making it easy for everyone on the team to use.
Built with ADHD, dyslexia and autism in mind. 🧠

💪 As simple as Trello but as feature-rich as Jira
🔄 A perfect alternative to ClickUp, Monday, or Asana
🌐 https://leantime.io

A screenshot of Leantime's my work dashboard showing a few boxes with large metrics represnting todos complete, goals contributing to, scheduled todos. Also shows a day calendar with one task on it and a list of tasks grouped by Overdue, Due this week and Due Later

License Badge Docker Hub Badge Github Downloads Discord Badge Crowdin GitHub Sponsors

alt text



🚀 Features*

How to install Leantime

Install Leantime with Docker

Docker installed
Environment variables
LEAN_DB_HOST, LEAN_DB_USER, LEAN_DB_PASSWORD, LEAN_DB_DATABASE, LEAN_EMAIL_RETURN, LEAN_APP_URL
docker run -d --restart unless-stopped -p 8080:8080 --network leantime-net \
-e LEAN_DB_HOST=mysql_leantime \
-e LEAN_DB_USER=admin \
-e LEAN_DB_PASSWORD=321.qwerty \
-e LEAN_DB_DATABASE=leantime \
-e LEAN_EMAIL_RETURN=changeme@local.local \
--name leantime leantime/leantime:latest

Once started you can go to <yourdomain.com>/install and run the installation script.

Behind a reverse proxy set LEAN_APP_URL=https://yourdomain.com. For plugins mount the folder plugins:/var/www/html/app/Plugins and give www-data access.

How to configure Leantime

  • LEAN_DB_HOSTDatabase host.
  • LEAN_DB_USERDatabase username.
  • LEAN_DB_PASSWORDDatabase password.
  • LEAN_DB_DATABASEDatabase name.
  • LEAN_DB_PORT3306Database port.

    values: 3306 for MySQL, 5432 for PostgreSQL

Leantime releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Why is the Commenter role unable to comment?

This is a known bug in some versions; run the latest release and check that user's project-level permissions if it continues.

Why can't my user see certain projects?

Users only see projects they are assigned to, so assign the project to the user in User Management.

How do I add a new user?

From the company icon open User Management, click Add User, enter name, email and role, assign projects; the person gets an invitation email to set a password.

Can I set different permissions per project?

Yes, users can hold a different role on each project, with an Inherit option that falls back to their company-level role; Owner and Admin cannot be overridden.

What user roles are available in Leantime?

Six roles in decreasing order of power: Owner, Admin, Company Manager, Editor, Commenter and Read-Only.

How do I test if SMTP is working?

Enable debug mode, try sending a password reset email, and inspect the log files in storage/logs (or the logs volume under Docker).

How do I configure Gmail SMTP?

Use smtp.gmail.com on port 587 with TLS and your Gmail address plus an app password as credentials.

How do I configure Office 365 SMTP?

Point the SMTP host at smtp.office365.com on port 587 with STARTTLS, automatic TLS and authentication enabled.

What are the common SMTP configuration mistakes?

Using the wrong port (587 for TLS, 465 for SSL, 25 unencrypted), leaving authentication disabled when the server needs it, mismatching the security protocol, or a firewall blocking the SMTP port.

Why aren't emails being sent from Leantime?

Email problems are the most common support request; check the return address and the SMTP host, port, authentication and security settings in your .env or docker-compose configuration.

How do I set the correct file permissions?

In a Docker install, chown the userfiles, storage/logs and app/Plugins directories to www-data:www-data and chmod them 775.

What installation methods does Leantime officially support?

Docker Compose setups and standard PHP installations are officially supported; Cloudron, Elestio, Turnkey and other external distributions are not.

Why does my Docker container show "unhealthy" status?

It is a known issue in some versions and the container usually still works; you can silence it by disabling the healthcheck in docker-compose.yml.

How do I install Leantime with Docker?

Clone the official docker-leantime repository, run docker-compose up -d, then open http://localhost:8080 and finish the installation wizard.

What are the system requirements for Leantime?

PHP 8.1 or newer, MySQL 5.7+ or MariaDB 10.2+, a web server (Apache, Nginx or IIS) and at least 512MB of RAM with 1GB recommended; Docker installs just need Docker and Docker Compose.

More in Project Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…