Self-hosted service
Leantime/leantime avatar
Leantime/leantime

Self-hosting Leantime: the plugin mount, the reverse proxy URL and the IIS PATCH fix

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.

12,144 stars1,189 forksPHPAGPL-3.0

At a glance

What is it?
Leantime/leantime is an AGPL-3.0 PHP project management system aimed at non-project managers and built with ADHD, autism and dyslexia in mind. This piece covers what a production install needs, the Docker and IIS settings that break things when skipped, and what the open source edition includes.
Who is it for?
Leantime fits small teams that want a self-hosted, open source tool covering tasks, goals, canvases, wikis and time tracking in one place, and that can run PHP 8.2 with MySQL or MariaDB or a Docker container. The self-hosted edition requires operating its application and database; Leantime also offers hosted and managed options.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly PHP, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • Leantime/leantime12,144 ★ · +387
Star history
Repository2026-10-072026-11-25
Leantime/leantime11.8k12.1k

387 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The Docker image drops plugins unless app/Plugins is mounted

Leantime publishes an official image, leantime/leantime, on Docker Hub. The run command passes database and mail settings as environment variables:

code
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 [email protected] \
--name leantime leantime/leantime:latest

Any variable from the .env file can be passed the same way. Replace the sample password and return address before using it. Unless a database already exists elsewhere, the project points to the docker-compose file in the Leantime/docker-leantime repository. The serious trap is plugins. If you plan to use them, you must mount plugins:/var/www/html/app/Plugins and make sure the www-data user can access it. Without that mount, installation can fail or plugins disappear after a restart, which means a routine container update silently removes functionality your team relies on.

A reverse proxy needs LEAN_APP_URL or links point at the wrong host

Many self-hosters put Leantime behind nginx or another reverse proxy for a custom domain and SSL offloading. In that setup the container must be told its public address with an extra variable:

code
-e LEAN_APP_URL=https://yourdomain.com \

Replace yourdomain.com with the real domain. The repository also ships nginx.example.conf and nginx-subfolder.example.conf, the second for serving Leantime from a subpath rather than a domain root. After the container starts, the installer runs at yourdomain.com/install. The consequence of skipping LEAN_APP_URL is that the application does not know the address users reach it on, so the proxy setup is incomplete until the variable is set and the container restarted.

The zip install expects the web root at public/ and a renamed env file

The non-Docker production route starts from the release package named Leantime-vx.x.x.zip on the GitHub release page. Create an empty MySQL database, upload the whole directory, and point the domain root at the public/ directory, not at the repository root. Rename config/sample.env to config/.env and fill in the database username, password, host and dbname. Then open yourdomain.com/install and follow the steps to create the database tables and the first user account. Pointing the web root one level too high is the easy mistake here; the public/ requirement exists so that config/.env and the application code stay outside what the web server serves directly.

PHP 8.2 plus more than twenty extensions, LDAP and PCNTL included

Leantime requires PHP 8.2 or newer, MySQL 8.0+ or MariaDB 10.6+, and Apache or Nginx. IIS works with some modifications. The extension list is long: bcmath, Ctype, cURL, DOM, Exif, Fileinfo, Filter, GD, Hash, LDAP, mbstring, MySQL, OPcache, OpenSSL, PCNTL, PCRE, PDO, Phar, Session, Tokenizer, Zip and SimpleXML. LDAP sits on that list even if you never connect a directory server, and PCNTL is not available on every shared host. The consequence is that cheap shared hosting can fail the requirements before you reach the installer, which is one reason the Docker image exists. Check php -m on the target server against this list first.

IIS rejects saves until PATCH is allowed on the PHP handler

On Internet Information Services the standard steps apply, but full functionality needs the PATCH method enabled. In IIS Manager, select the Leantime site, open Handler Mappings, open the PHP handler mapping the site uses, click Request Restrictions, go to the Verbs tab and add PATCH to the allowed verbs, for example GET,HEAD,POST,PATCH. If the path to php-cgi.exe contains a space, wrap it in double quotes in the Executable box, then accept the prompt to create a FastCGI application. The README warns that you may need to repeat this after upgrading PHP. Teams on Windows servers should add it to their PHP upgrade checklist, or requests that use PATCH will stop working after an otherwise routine update.

Every listed feature ships in the AGPL-3.0 open source edition

Leantime states that all features in its table are included in the open source version. Task management covers kanban boards, gantt, table, list and calendar views, unlimited subtasks and dependencies, milestones, sprints, and time tracking with timesheets. Planning tools include project dashboards, goal and metrics tracking, Lean and Business Model Canvas, SWOT and risk analysis. Knowledge features include wikis, idea boards, retrospectives, screen and webcam recording, comments on everything, and file storage on S3 or the local filesystem. Administration adds user roles with per-project permissions, two factor authentication, LDAP and OIDC, plugins and an API, and integrations with Slack, Mattermost and Discord. The interface is translated into over 20 languages through Crowdin. The license is AGPL-3.0, so organisations that modify and host it should review that license before deploying.

Three patch releases in one day on the 3.13 line

The repository is not archived, and the last push to master was on 1 November 2026. Version 3.13.0 shipped on 30 October 2026, followed by 3.13.1 the same day and 3.13.2 on 31 October 2026; package.json reports 3.13.2. Quick follow-up patches after a minor release mean early adopters of a .0 can hit issues fixed hours later. The sample Docker command uses leantime/leantime:latest, so a container recreated at the wrong moment picks up whatever was just published. Pinning a specific version tag in production gives you control over when to move. The repository also contains a helm/ directory for Kubernetes deployments and a makefile and .dev/ setup for development.

Editorial conclusion

Leantime fits small teams that want a self-hosted, open source tool covering tasks, goals, canvases, wikis and time tracking in one place, and that can run PHP 8.2 with MySQL or MariaDB or a Docker container. The self-hosted edition requires operating its application and database; Leantime also offers hosted and managed options. Review the applicable licence and service terms for the edition and deployment you choose. Before deploying, decide whether you will use plugins, because the Docker install needs the plugin folder mounted from the start, and set LEAN_APP_URL if a reverse proxy sits in front.

Frequently asked questions

Is Leantime free?

Yes. Leantime is open source under AGPL-3.0, and the project states that all features in its feature table are included in the open source version.

How to install Leantime?

Either download the Leantime-vx.x.x.zip release, point your domain at public/, copy config/sample.env to config/.env with your database details and open /install, or run the official leantime/leantime Docker image and then open /install.

What is Leantime?

Leantime is an open source project management system for non-project managers that combines strategy, planning and execution. It is built with ADHD, dyslexia and autism in mind and written in PHP.

Is Leantime open source?

Yes. The Leantime source code is on GitHub under the AGPL-3.0 license, and an official Docker image is published on Docker Hub.

Official sources

  1. Leantime/leantime on GitHub
  2. License: AGPL-3.0
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/leantime-leantime.svg)](https://hysenlabs.com/projects/leantime-leantime)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/leantime-leantime.svg)](https://hysenlabs.com/projects/leantime-leantime)

Was this useful?