Deployment guide

Self-Host Kimai on a VPS: Open-Source Time Tracking

Deploy on a VPS Cloud →

Self-hosting2 min read

Self-Host Kimai on a VPS: Open-Source Time Tracking

Kimai is one of the few open-source tools that can genuinely replace Toggl or Harvest long-term: it handles timers, projects, clients, hourly rates, reports and PDF invoicing — all on your own server. Its MIT licence, single-container Docker deployment and clean interface make it the go-to choice for freelancers and agencies who want full control over their data.

Why Self-Host Kimai?

  • MIT licence — no licence fees, no user limits, no telemetry.
  • Built-in invoicing — generate PDF or HTML invoices directly from your timesheets, no external module needed.
  • Full REST API — connect Jira, GitLab, Slack or your own HR system in a few lines.
  • Data sovereignty — your hours and client data stay on your server, never shared.
  • Lightweight — around 150–200 MB RAM: perfect for an entry-level VPS plan.

What Kimai Does

  • One-click timer, manual retroactive entry or import from Toggl and Clockify.
  • Manage projects, clients, activities and custom hourly rates per user or task.
  • Exportable reports in CSV and XLSX — weekly, monthly, per project or per team.
  • PDF and HTML invoicing with customisable templates (logo, VAT, payment terms).
  • SSO via SAML or OIDC (Keycloak, Authelia, Authentik) — optional.
  • Jira plugin: links commits and tickets to time entries automatically.

Deploy Kimai on ServOrbit

01

In your client area: Marketplace → ERP & Business → Kimai → Deploy. ServOrbit creates the VPS, installs Docker and launches the stack (MySQL 8 + Apache/PHP) automatically.

02

Wait about 60 seconds. The app card shows your credentials: login [email protected], generated password.

03

Access without a domain: ssh -L 8080:127.0.0.1:8001 root@<ip> then http://localhost:8080. Add a domain from the dashboard when you're ready.

04

Create your first customer, then a project linked to that customer. Set an hourly rate or budget.

05

Click to start the timer, choose the project — Kimai records your hours in real time.

First invoice: in Timesheets, filter by customer and date range, then Create invoice. Kimai tallies the hours, applies your rates and generates a downloadable PDF in seconds.

Backing Up and Updating Kimai

  • Backup: three Docker volumes — kimai_db (MySQL), kimai_data (files), kimai_public (avatars). Use rsync, SFTP or mysqldump for a SQL export.
  • Update: docker pull kimai/kimai2:apache-latest && docker compose up -d — Kimai applies database migrations automatically on restart.
  • CSV/XLSX export: from Timesheets → Export for a human-readable backup or migration to another tool.

Deploy Kimai on Your VPS in 60 Seconds

ServOrbit pre-configures the full stack (Apache/PHP + MySQL 8) and generates your admin credentials — ready to log your first hours.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email. Support in French, English and Arabic.

Message us on WhatsAppopens in a new tab