
Deploy Leantime on Your Own Server
Leantime is an open source project management system for small teams and startups written in PHP, Javascript using MySQL.
Want to deploy Leantime on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Leantime?
Leantime is an open source project management system for small teams and startups written in PHP, Javascript using MySQL. Designed to help you manage your projects from ideation to delivery. See more details here at https://leantime.io
Self-Host Leantime
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
leantime:
image: leantime/leantime:2.3.6
environment:
LEAN_APP_URL: https://leantime.your-domain.com
LEAN_DB_DATABASE: leantime
LEAN_DB_HOST: leantime-mysql
LEAN_DB_PASSWORD: c08dce220d47e376
LEAN_DB_USER: leantimeuser
LEAN_DEFAULT_TIMEZONE: Europe/London
LEAN_SESSION_EXPIRATION: "28800"
LEAN_SESSION_PASSWORD: 5ce904587db0e7be0e69d5b31a40f839
leantime-mysql:
environment:
MYSQL_DATABASE: leantime
MYSQL_PASSWORD: c08dce220d47e376
MYSQL_ROOT_PASSWORD: c08dce220d47e376
MYSQL_USER: leantimeuser
volumes:
- leantime-mysql-data:/var/lib/mysql
volumes:
leantime-mysql-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host Leantime?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
leantime/leantime:${leantime_ver}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"