Self-hosted app·Tasks, kanban and projects
Leantime hosting on a Swiss VPS.
Leantime hosting on a Swiss VPS in ALP1: official Docker stack, sizing, TLS proxy, S3 attachments and backups.
- PHP
- MySQL
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
Yes. Leantime fits on our Cloud VPS Standard plan (4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of monthly transfer, $12.99 a month) in ALP1, our facility in the Swiss Alps, using the project's own Docker Compose stack: one Leantime container and one MySQL 8.4 container.
The setting that decides whether the install behaves behind HTTPS is LEAN_APP_URL. Since the 3.10.2 security release of October 2026, Leantime verifies the origin of state-changing browser requests and builds password-reset and invitation links only from a trusted base URL. Leave it unset behind a proxy that rewrites the Host header and form submissions are rejected; leave it unset anywhere and reset and invite emails are held back until an owner or admin has signed in once. Set it before the first docker compose up.
02/06
What Leantime is and who runs it.
Leantime is an open-source project management application written in PHP on a MySQL database. Tasks can be worked in kanban, Gantt, table, list or calendar views, with subtasks, milestones and sprints; around them sit timesheets, goals, wiki-style documents, retrospectives and planning canvases. Accounts support two-factor authentication, LDAP and OIDC, and a JSON-RPC API is there for scripting. Self-hosters are mostly small teams, agencies and associations that want tasks, logged hours and client documents on a server they control. Timesheets are personal data about the people who fill them in, which gives the choice of jurisdiction more weight than it has for a shared to-do list.
The code comes from the company behind leantime.io, whose co-founder Marcel Folaron authors most of the releases; it funds the open-source edition by selling a SaaS version, managed hosting and marketplace plugins. The licence is AGPLv3, with an exception for plugins in app/Plugins, which may carry other licences. Running it unmodified for your own team creates no obligation. If you change the code and let people outside your organisation use the result over the network, the AGPL requires you to offer them the modified source.
Plan for the pace of the project. Between 24 September and 15 October 2026 it published seven releases, 3.10.0 through 3.12.0. Version 3.10.0 closed a chain in the JSON-RPC API that let any logged-in user set another account's password and role; 3.10.2 was announced as a security release that every self-hosted installation should take. A Leantime instance is something you keep updating, not something you install once.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Requirements and sizing.
For a manual install the README asks for PHP 8.2 or newer, MySQL 8.0+ or MariaDB 10.6+, Apache or Nginx, and about twenty PHP extensions. The official Docker image takes that list off your hands. It is built on Alpine with PHP 8.3-FPM and nginx, runs as an unprivileged user (uid 1000), listens on port 8080 inside the container, and uses supervisord to start php-fpm, nginx and Leantime's scheduler (schedule:work), so there is no host cron to set up. The amd64 image is about 290 MB compressed. On the public interface you need only SSH and ports 80 and 443 for the reverse proxy.
Leantime's installation FAQ puts the application at 512 MB of RAM minimum and 1 GB recommended. MySQL 8.4 at its defaults, the proxy, Docker and Debian come on top, and a nightly mysqldump wants its share while it runs. That arithmetic is why we size this page on Standard rather than Starter.
| Plan | vCPU / RAM / NVMe / transfer | Price | For Leantime |
|---|---|---|---|
| VPS Starter | 2 / 2 GB / 80 GB / 10 TB | $6.99/mo | A handful of users if you cap MySQL's buffer pool; thin margin for dumps and restores |
| VPS Standard | 4 / 4 GB / 160 GB / 15 TB | $12.99/mo | Our recommendation: MySQL, PHP-FPM workers, proxy and a backup job fit at the same time |
| VPS Pro | 6 / 8 GB / 320 GB / 20 TB | $22.99/mo | Many plugins, large local attachments, or other applications on the same VPS |
VPS traffic is not unmetered: Standard includes 15 TB of transfer per month, about 500 GB a day (theoretical), far beyond what a team moving cards on a board will use. Attachments and screen recordings are what could move that figure, and they are also what fills the disk; the database grows slowly, the userfiles volume does not. Put attachments in object storage and the 160 GB disk only has to hold the database, the image and your dumps.
04/06
How to deploy it with us.
1. Order and point DNS. Deploy VPS Standard with Debian 13 from the link above, add your SSH key, and create an A record such as pm.example.com pointing at the VPS's IPv4 address.
2. Install Docker. Use Docker's own apt repository for Debian, which ships the Engine and the Compose plugin together.
3. Fetch the stack and write .env.
git clone https://github.com/Leantime/docker-leantime.git /opt/leantime
cd /opt/leantime && cp sample.env .env
openssl rand -base64 36 # run three times: MySQL root, MySQL user, session secretThen change these lines in .env:
LEAN_VERSION='3.12.0' # pin the image; confirm the tag exists on Docker Hub
LEAN_PORT='127.0.0.1:8080' # publish on loopback only
LEAN_APP_URL='https://pm.example.com'
LEAN_SESSION_SECURE=true
LEAN_SESSION_PASSWORD='<random 1>'
LEAN_DEFAULT_TIMEZONE='Europe/Zurich'
MYSQL_ROOT_PASSWORD='<random 2>'
MYSQL_PASSWORD='<random 3>'
LEAN_DB_PASSWORD='<random 3>' # must equal MYSQL_PASSWORDTwo of these are not cosmetic. The sample file ships a fixed LEAN_SESSION_PASSWORD that anyone can read in the public repository, so it has to go. The compose file maps ${LEAN_PORT}:8080, and Docker writes its own iptables rules for published ports, which act before ufw sees the packet; with the default value the unencrypted application would be reachable on the public IP whatever your firewall says. The timezone line only replaces the sample's America/Los_Angeles as the default for new users. The MySQL container publishes no port in the compose file; keep it that way, and do not copy the -p 3306:3306 from the README's docker run example.
4. Put TLS in front. Caddy from the Debian repository is the shortest route; once DNS resolves, it fetches and renews a Let's Encrypt certificate by itself.
pm.example.com {
reverse_proxy 127.0.0.1:8080
}Leantime trusts forwarded headers only from private ranges by default (loopback, 10/8, 172.16/12, 192.168/16). Traffic from a proxy on the same host arrives through the Docker bridge, inside those ranges, so LEAN_TRUSTED_PROXIES can stay unset.
5. Start and install. Run docker compose up -d, wait until docker compose ps shows both services healthy, then open https://pm.example.com/install and create the owner account. Turn on two-factor authentication for it before inviting anyone. For monitoring, GET /health (added in 3.10.3) answers without a session.
- 01
Mail
Leantime needs mail for invitations, password resets and notifications. An authenticated relay on port 587 is the less frustrating path:
LEAN_EMAIL_RETURN='pm@example.com' LEAN_EMAIL_USE_SMTP=true LEAN_EMAIL_SMTP_HOSTS='smtp.your-relay.example' LEAN_EMAIL_SMTP_PORT='587' LEAN_EMAIL_SMTP_USERNAME='…' LEAN_EMAIL_SMTP_PASSWORD='…' - 02
Attachments in object storage
Leantime has a native S3 backend, and our object storage is an S3-compatible bucket reached with an endpoint and access keys, billed by size with no request fees. It is not a disk: nothing to format, nothing to attach, and the MySQL data directory never goes on an
rclone mount. Create a bucket, then:LEAN_USE_S3=true LEAN_S3_END_POINT='https://<endpoint shown in your panel>' LEAN_S3_KEY='<access key>' LEAN_S3_SECRET='<secret key>' LEAN_S3_BUCKET='leantime-files' LEAN_S3_USE_PATH_STYLE_ENDPOINT=true LEAN_S3_REGION='<region>'Decide this before the team starts uploading; existing files in the local volume are not moved for you.
- 03
Backups and updates
Back up two things: a consistent database dump, and the
userfilesvolumes if attachments stay local.docker exec mysql_leantime sh -c \ 'exec mysqldump --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD" leantime' \ | gzip > /var/backups/leantime-$(date +%F).sql.gz restic -r s3:https://<endpoint>/<backup-bucket> backup /var/backups /opt/leantime/.envOur daily VPS backups are a useful extra, but a snapshot of a running database is only crash-consistent; the dump is what you can restore into a newer MySQL. To update, read the release notes, take a dump, change
LEAN_VERSION, then rundocker compose pull && docker compose up -d. Some releases migrate the schema: 3.12.0 does, and asks an admin to confirm the update screen or to rundocker compose exec leantime php bin/leantime db:migrate. Expect everyone to be signed out once when you cross 3.10.2.One privacy detail: Leantime has a telemetry setting whose opt-out did not stick until 3.11.0 fixed it. If the point of a Swiss server is that project data stays on it, switch telemetry off after the install, and check where any Slack, Discord or calendar integration sends task data before you enable it.
05/06
What it costs.
| Item | Per month |
|---|---|
| VPS Standard: 4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Daily VPS backups (+20 %) | $2.60 (theoretical: 20 % of $12.99) |
| Object storage 250 GB, for attachments and the restic repository | $1.99 |
| Total | $17.58 (theoretical) |
Yearly billing takes about 25 % off the VPS, roughly $9.75 a month for Standard (theoretical). Leantime itself costs nothing; marketplace plugins are sold by Leantime, not by us. Full figures are on the pricing page.
Payment is in cryptocurrency only (Monero, Bitcoin, USDT, Ethereum, Litecoin and others), with prices and balances in US dollars, and business customers paying in crypto are welcome. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part of a top-up is refundable within 14 days. A $250 top-up becomes a $287.50 balance, which covers the full stack in the table for about 16 months (theoretical). Signing up is no-KYC: an email address is enough. If your accounts department can only pay by card or bank transfer, we are the wrong host for this.
We run the hardware and the network in ALP1. The Leantime installation, its updates, its backups and its data are yours to operate.
06/06
Jurisdiction, obligations and acceptable use.
Your Leantime database sits in ALP1 in the Swiss Alps, on infrastructure operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of protection, so an EU team can keep its staff's timesheets here without additional transfer safeguards. If you wire Leantime to a US service, Switzerland has recognised companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024; check the certification before task data starts flowing. The jurisdiction page covers the legal background in more depth.
On US access in particular: as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That closes one route; it does not put the data beyond every authority. A competent Swiss authority can order disclosure under Swiss procedure, including on behalf of another state through mutual legal assistance.
You decide what goes into Leantime and who can see it, so the data-protection duties for that content sit with you: informing the people whose data you hold, answering access and deletion requests, and setting a retention period for timesheets. Keeping the instance patched is part of the same duty.
Leantime's file module is for project files. Using it, or the VPS, to make other people's works available online without permission is not allowed, and neither is sending unsolicited bulk mail through the open port 25. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where content is manifestly unlawful, in line with the Swico Code of Conduct Hosting 2025; the page on DMCA notices walks through a complaint from receipt to outcome.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Is VPS Starter enough for Leantime?
For a handful of users it can work, provided you limit MySQL's memory with a --innodb-buffer-pool-size flag on the database container. The 2 GB leaves little room for a dump or a restore running beside normal traffic, which is exactly when you do not want the OOM killer involved. Standard is the plan this page is sized for.
Do I need a cron job on the host?
No. The official image runs Leantime's scheduler under supervisord next to nginx and php-fpm. Since 3.10.3, console runs also load enabled plugins, so recurring tasks and calendar sync jobs from plugins run as well; docker compose logs leantime shows the scheduler's output.
Can I use MariaDB instead of MySQL?
Leantime supports MariaDB 10.6 and later, while the official compose file ships mysql:8.4. For a new install either works. For an existing one, move by dump and restore; do not point a MariaDB image at a MySQL 8.4 data volume.
Does a Swiss server keep my Leantime data away from US authorities?
No CLOUD Act executive agreement exists with Switzerland as of 31 October 2026, so that route is closed. A request through Swiss legal channels still works, and nothing protects data your instance itself sends to US services through integrations or telemetry.
What do I need to open an account?
An email address. Payment is in cryptocurrency, and you can deploy as soon as the balance is topped up.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
- European Commission review of 15 January 2024 confirming Swiss adequacy (decision 2000/518/EC)Commission européenne
- CLOUD Act executive agreements limited to the United Kingdom and AustraliaUS DOJ · verified 31 Oct 2026
Industry, providers and software
- Leantime README: system requirements, feature list, licence and Docker notesgithub.com/Leantime/leantime
- Leantime release notes for 3.10.0 (24 Sep 2026), 3.10.1 (2 Oct 2026), 3.10.2 (3 Oct 2026), 3.10.3 (4 Oct 2026), 3.11.0 (9 Oct 2026) and 3.12.0 (15 Oct 2026): security fixes, LEAN_APP_URL, trusted proxies, /health, telemetry opt-out, migrationsgithub.com/Leantime/leantime/releases
- Official Docker stack: README, docker-compose.yml, sample.env, Dockerfile and config/supervisord.confgithub.com/Leantime/docker-leantime
Other references
- Image tags and compressed sizeshub.docker.com/r/leantime/leantime/tags
- 512 MB / 1 GB RAM figures from Leantime's installation FAQ, as cited in a third-party sizing guideshop.zimaspace.com
- Swico Code of Conduct Hosting, revised version published 13 March 2025IT Reseller
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
