Self-hosted app·Business software
Kimai hosting
on a Cloud VPS in Panama City.
Kimai hosting on a Cloud VPS in PTY1, Panama City: Docker Compose setup, sizing, backups, legal points and cost from $12.99 a month.
- PHP
- MySQL
- Docker
- Caddy
PTY1·Panama City
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
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/07
Short answer.
Yes. Kimai runs comfortably on our Cloud VPS Standard plan (4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of monthly transfer, $12.99 a month) in PTY1, Panama City, using the official Docker image on Debian 13. Sizing is the easy part. What decides whether self-hosting Kimai is sensible is maintenance: the project has shipped security fixes in most of its releases since August 2026, and a timesheet database holds client names, hourly rates and the working hours of named people. If you will pull updates promptly and keep an encrypted copy of the database off the server, host it here. If you won't, Kimai's own documentation points non-experts to its hosted cloud, and on that point we agree with them.
02/07
What Kimai is
and who runs it.
Kimai is a web-based, multi-user time tracker written in PHP on Symfony and Doctrine, published under the AGPL-3.0 and led by Kevin Papst. The current release is 2.71.0, tagged on 25 October 2026, and it supports PHP 8.2 to 8.5. People book time against a customer, a project and an activity; Kimai turns those records into reports, exports and invoices using per-user, per-project or per-customer rates, and can enforce money and time budgets. Teams, role permissions, two-factor login, LDAP and SAML are built in, and a JSON API serves desktop and mobile clients.
The people who self-host it tend to be freelancers billing by the hour who want their client list on a machine they control, agencies with anything from a handful to a few hundred staff, and organisations that must keep working-time records. The AGPL only bites if you modify Kimai and let other people use the modified version over the network; then you owe them the source. Running the stock image for your own team creates no such obligation.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/07
Requirements and sizing.
Upstream asks for PHP 8.2 or newer with the gd, intl, mbstring, pdo, tokenizer, xml, xsl and zip extensions, MariaDB 10.6+ or MySQL 8.4+, a web server, and a subdomain of its own. Installing under a path such as example.com/kimai is not supported. The Docker image bundles Apache and PHP, listens on port 8001 and sets PHP's memory_limit to 256 MB by default, so on the server you need Docker, a database container and something to terminate TLS.
| Resource | What Kimai needs | VPS Standard |
|---|---|---|
| CPU | Near idle; short bursts on reports, PDF invoices and exports | 4 vCPU |
| RAM | Kimai + MySQL + Caddy at idle: not measured; peak during a 12-month PDF export: not measured | 4 GB |
| Disk | Images, database, invoice files: not measured | 160 GB NVMe |
| Ports | 80 and 443 public; 8001 and 3306 internal only | 1 IPv4 |
| Transfer | Negligible | 15 TB/month included, 1 Gbps |
Data growth will not be what pushes you to a bigger plan. A theoretical team of 25 people logging eight entries per working day for 230 days produces 46,000 timesheet rows a year; at a generous 1 KB per row including indexes, that is about 45 MB a year. Transfer is just as small: 50 users each pulling 5 MB of pages and API calls on 22 working days comes to roughly 5.5 GB a month (theoretical), against 15 TB included.
For one or two people, Starter's 2 vCPU and 2 GB at $6.99 is probably enough, and we would not talk you out of it. Standard earns its price once a team is involved, because MySQL's buffer pool, Apache workers, a large PDF export and the nightly backup job can all want memory at the same moment. A large organisation or one with heavy API integrations should look at Pro (6 vCPU, 8 GB, $22.99) and measure before deciding.
04/07
How to deploy it
with us.
1. Order the server. Use the deploy link for VPS Standard on Debian 13. It is no-KYC: an email address is enough. Create an A record such as kimai.example.com pointing at the VPS before you start, because Caddy needs it to obtain a certificate.
2. Install Docker Engine from Docker's own repository, which lists Debian 13 as supported and ships a current Compose plugin:
sudo apt update && sudo apt install -y ca-certificates curl restic
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable" \
| sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update && sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin3. Write /opt/kimai/.env. Generate secrets with openssl rand -hex 24: hex strings never need URL-encoding inside DATABASE_URL, which is the usual cause of Kimai's "Malformed parameter url" error. The single quotes stop Compose from interpolating the $ in the hostname pattern.
DATABASE_NAME=kimai
DATABASE_USER=kimai
DATABASE_PASSWORD=<hex string>
DATABASE_ROOT_PASSWORD=<another hex string>
APP_SECRET=<openssl rand -hex 32>
TRUSTED_HOSTS='^kimai\.example\.com$'
ADMIN_EMAIL=you@example.com
ADMIN_PASSWORD=<temporary password>
MAILER_FROM=kimai@example.com
MAILER_URL=smtp://user:password@smtp.your-relay.example:5874. Write /opt/kimai/compose.yaml. It departs from the upstream example in three places. It uses mysql:8.4, because the upstream file still pins 8.3, an Innovation release whose support ended in April 2024, while Kimai's README asks for 8.4 or newer. It uses kimai/kimai2:2, the tag upstream recommends: it follows 2.x releases but will not jump to a new major version on a routine pull. And neither Kimai nor MySQL publishes a port; only Caddy does. That last point matters because ports published by Docker bypass ufw rules.
services:
sqldb:
image: mysql:8.4
environment:
- MYSQL_DATABASE=${DATABASE_NAME}
- MYSQL_USER=${DATABASE_USER}
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
- MYSQL_ROOT_PASSWORD=${DATABASE_ROOT_PASSWORD}
volumes:
- mysql:/var/lib/mysql
healthcheck:
test: mysqladmin -uroot -p$$MYSQL_ROOT_PASSWORD ping -h 127.0.0.1 --silent
interval: 10s
timeout: 5s
retries: 12
start_period: 30s
restart: unless-stopped
networks: [kimai]
kimai:
image: kimai/kimai2:2
depends_on:
sqldb:
condition: service_healthy
environment:
- APP_SECRET=${APP_SECRET}
- TRUSTED_HOSTS=${TRUSTED_HOSTS}
- TRUSTED_PROXIES=172.30.0.0/24
- ADMINMAIL=${ADMIN_EMAIL}
- ADMINPASS=${ADMIN_PASSWORD}
- MAILER_FROM=${MAILER_FROM}
- MAILER_URL=${MAILER_URL}
- "DATABASE_URL=mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@sqldb/${DATABASE_NAME}?charset=utf8mb4&serverVersion=8.4.0"
volumes:
- data:/opt/kimai/var/data
- plugins:/opt/kimai/var/plugins
restart: unless-stopped
networks: [kimai]
caddy:
image: caddy:2
ports: ["80:80", "443:443"]
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
restart: unless-stopped
networks: [kimai]
networks:
kimai:
ipam:
config:
- subnet: 172.30.0.0/24
volumes:
mysql:
data:
plugins:
caddy_data:The fixed subnet is there so TRUSTED_PROXIES can name it; without that, Kimai ignores Caddy's forwarded headers and builds http:// links. The Caddyfile is two lines:
kimai.example.com {
reverse_proxy kimai:8001
}5. Start it with docker compose up -d in /opt/kimai and log in with the admin email and password from .env. The image creates that account only when it does not exist, so delete ADMIN_PASSWORD from .env after the first login and enable two-factor authentication on the account.
Kimai sends password resets and notifications by mail. Outbound port 25 is open on every VPS, but direct delivery from a new IP address tends to land in spam folders, so point MAILER_URL at an authenticated relay on port 587 (our answer on port 25). Do not skip TRUSTED_HOSTS: since 2.68.0, Kimai disables password reset when it is not set.
- 01
Updates and backups
Updating is
docker compose pull && docker compose up -d, after a backup. Kimai restores only into the exact version that produced the dump, so the dump you want is the one taken before the upgrade. Kimai publishes an RSS feed of security advisories; subscribe to it.Kimai's backup guide lists what to keep: the database,
var/data,var/plugins, and your environment and config files. This script does that, then sends everything to a bucket on our object storage through its S3 API with restic, which encrypts on the client, so the bucket holds ciphertext we cannot read. Compose names the volumeskimai_dataandkimai_pluginsafter the project directory.#!/bin/sh # /opt/kimai/backup.sh — cron: 20 2 * * * /opt/kimai/backup.sh set -eu cd /opt/kimai D=/var/backups/kimai/$(date +%F) mkdir -p "$D" docker compose exec -T sqldb sh -c \ 'exec mysqldump --single-transaction --no-tablespaces -uroot -p"$MYSQL_ROOT_PASSWORD" "$MYSQL_DATABASE"' > "$D/kimai.sql" docker run --rm -v kimai_data:/data:ro -v kimai_plugins:/plugins:ro -v "$D":/out debian:13 \ tar czf /out/files.tgz /data /plugins cp .env compose.yaml Caddyfile "$D/" # AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and RESTIC_PASSWORD come from /root/.restic-env . /root/.restic-env restic -r "s3:https://<your-object-storage-endpoint>/<bucket>" backup /var/backups/kimai restic -r "s3:https://<your-object-storage-endpoint>/<bucket>" forget --keep-daily 14 --keep-monthly 12 --prune find /var/backups/kimai -mindepth 1 -maxdepth 1 -mtime +7 -exec rm -rf {} +Do not mount the bucket with
rclone mountand put MySQL's data directory on it; buckets are for backups, not for a live database. The daily VPS backup option complements restic with whole-machine rollback. Both copies then sit with one provider, so if you want a copy outside our company, add a second restic repository somewhere else.
05/07
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard: 4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps | $12.99 |
| Daily VPS backups (+20 %) | $2.60 |
| Object storage, 250 GB bucket for restic | $1.99 |
| Kimai itself (AGPL-3.0) | $0.00 |
| Total | $17.58 |
The plan includes an IPv4 address and outbound port 25; extra IPv4s are $2 a month and priority support is $10. The 15 TB is a monthly allowance, not unmetered traffic, which for Kimai is a distinction without consequence. Paying yearly takes roughly 25 % off the VPS, $116.99 a year or $9.75 a month in theory. Full figures are on pricing.
Payment is in crypto only (BTC, ETH, XMR, USDT, USDC, LTC and others), with prices and balances in US dollars. Top-ups run from $25 to $5,000 and earn a bonus from $50 upwards: a $100 top-up credits $110, which covers eight months of VPS Standard with $6.08 left over (theoretical). The unused paid part of a top-up is refundable within 14 days. We accept business customers paying in crypto.
06/07
Your timesheets in PTY1
what Panamanian law does and does not change.
Timesheets are personal data, and on a server in PTY1 they sit under Panamanian law. Law 81 of 26 March 2019 governs personal data protection there and is implemented by Executive Decree 285 of 28 May 2021. Article 29 of the Constitution allows private communications to be intercepted only on the order of a judicial authority, and private documents to be examined only on the order of a competent authority and for specific purposes. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Panama. That does not put your data beyond the reach of US investigators: a mutual legal assistance treaty between Panama and the United States has been in force since 6 September 1995, and requests under it go through Panamanian authorities. Law 51 of 2009 requires telecommunications companies and other communication networks that provide the service to keep certain user data for six months; whether that reaches a hosting provider is a question for Panamanian counsel, and we will not answer it for them. The wider argument is on offshore hosting.
If you record the hours of people in the EU, Panama has no EU adequacy decision, so the transfer needs appropriate safeguards such as the 2021 standard contractual clauses. That obligation is yours as controller.
07/07
Limits and acceptable
use.
We run the hardware and network in PTY1; the Kimai instance is yours to operate. That means patching the image, keeping TLS valid, deciding who gets an account and testing that your restores work. Employment law follows your staff, not the server: consent, retention periods and works-council rules in the countries where your people work still apply to you. What the server may send and host is governed by our acceptable use policy (our acceptable use policy).
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. To reach us, open a support ticket from the client panel; payment and account questions are covered in the FAQ.
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 |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
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 PTY1. If yours is not here, open a ticket from your panel.
Can I install Kimai on Debian 13 without Docker?
Yes. Debian 13 ships PHP 8.4 and MariaDB 11.8, both inside Kimai's supported range. You clone the 2.71.0 tag from GitHub, run composer install --no-dev --optimize-autoloader, set DATABASE_URL, TRUSTED_HOSTS and APP_SECRET in .env, run bin/console kimai:install -n and point Apache or nginx at public/. It works, but you then patch PHP, the web server and Kimai separately; the container keeps them in step.
Which Docker image tag should I use?
kimai/kimai2:2, as upstream recommends. :stable can move to a new major version unannounced, a fixed version tag such as :2.71.0 never receives updates, :apache is a deprecated alias of :stable, and the FPM tags (:fpm, :latest) stop receiving updates at the next major release.
How do I move an existing Kimai installation here?
Pin the image to the exact version you are leaving, for example kimai/kimai2:2.71.0, and start the stack. Import the dump with docker compose exec -T sqldb sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD" "$MYSQL_DATABASE"' < kimai.sql, copy var/data into the kimai_data volume, then run docker compose exec kimai /opt/kimai/bin/console kimai:reload --env=prod. Once it works, switch the tag back to :2 and pull.
Can Kimai live in a subdirectory such as example.com/kimai?
No. Upstream does not support it. Give Kimai its own subdomain; it costs nothing and avoids broken asset and login URLs.
My desktop or mobile client stopped connecting after an update. Why?
Kimai 2.71.0 deactivated API passwords and removed them from the profile screen. Clients now need an API token, which you create in the user profile; since 2.64.0 Kimai shows it as a QR code for app setup.
Do I need to send ID to rent the server?
No. No-KYC: an email address is enough, and payment is in crypto. You remain responsible for what runs on the server, as described above.
Sources
Every fact on this page, with its source
Checked 5 Nov 2026 unless noted.
Panamanian law and authorities
- Law 81 of 26 March 2019 and Executive Decree 285 of 28 May 2021Gaceta Oficial 28743-A
- Law 51 of 2009, art. 6, six-month retentionGaceta Oficial 26374
- Constitution of Panama, art. 29Gaceta Oficial 25176, Legispan
EU and other countries
- CLOUD Act executive agreements with the UK and Australia onlyjustice.gov · verified 31 Oct 2026
- Panama moved to Annex II, 9 October 2026Council of the EU press release
- No EU adequacy decision for Panama; safeguards under GDPR art. 46 and the 2021 standard contractual clausesGDPR
Industry, providers and software
- Kimai 2.71.0 release, 25 October 2026; PHP 8.2–8.5; API passwords deactivatedGitHub, kimai/kimai 2.71.0
- Security fixes in 2.63.0 to 2.70.0; password reset disabled without TRUSTED_HOSTS (2.68.0); API token QR code (2.64.0)GitHub, kimai/kimai releases
- Licence AGPL-3.0GitHub, kimai/kimai
- Debian 13 ships PHP 8.4 and MariaDB 11.8debian.org
- Docker Engine supports Debian 13; published ports bypass ufwDocker docs, Install on Debian
Other references
- Server requirements, subdomain-only install, self-hosting recommended for experienced users, "Malformed parameter url" FAQKimai docs, Installation
- MariaDB ≥ 10.6 or MySQL ≥ 8.4; PHP extension list including xslKimai README via Packagist
- Image tags, port 8001, environment variables, memory_limit default 256M, ADMINMAIL/ADMINPASS behaviourKimai docs, Docker
- Upstream Compose example pinning mysql:8.3; update procedureKimai docs, Docker Compose
- FPM image sunset, switch to the Apache-based tagKimai blog, 16 January 2026
- Files to back up, same-version restore requirementKimai docs, Backups
- MySQL Innovation releases supported only until the next release; 8.4 is the 8.x LTSendoflife.date, MySQL
- FATF removal of Panama from increased monitoring, 27 October 2023FATF plenary outcomes, October 2023
- US–Panama mutual legal assistance treaty, in force 6 September 1995US Department of State
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.