Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Kimai

Kimai

Kimai is an open-source, self-hosted time-tracking application for freelancers, agencies, and companies. Track hours, manage projects and customers, invoice clients, and generate reports. AGPL-3.0 licensed with 4,800+ GitHub stars.

At a glance

4.8k

GitHub stars

6

Page views

License AGPL-3.0 Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4

Accessing Kimai

Open in browser: http://<SERVER_IP>

Login credentials:

Retrieve credentials:

cat /opt/kimai/.env

Important Files & Directories

  • Install Path: /opt/kimai
  • Compose File: /opt/kimai/docker-compose.yml
  • Environment File: /opt/kimai/.env
  • Caddy Configuration: /opt/kimai/Caddyfile
  • Data Volume: /var/lib/docker/volumes/kimai_data
  • MySQL Volume: /var/lib/docker/volumes/kimai_mysql
  • Plugins Volume: /var/lib/docker/volumes/kimai_plugins
  • Caddy Data Volume: /var/lib/docker/volumes/kimai_caddy_data
  • Caddy Config Volume: /var/lib/docker/volumes/kimai_caddy_config

Managing the Stack

Change into the installation directory:

cd /opt/kimai

Check container status:

docker compose ps

View logs:

docker compose logs -f

Restart services:

docker compose restart

Stop the stack:

docker compose down

Start the stack:

docker compose up -d

Domain & HTTPS (Caddy)

0. HTTPS does NOT work with IP addresses.

1. Point a domain (e.g. kimai.example.com) to your server’s IP address.

2. Edit the Caddy ( /opt/kimai/Caddyfile) configuration:

kimai.example.com {
    reverse_proxy kimai:8001
}

3. Restart services:

docker compose -f /opt/kimai/docker-compose.yml restart

4. Caddy will automatically request and renew Let's Encrypt SSL certificates.


More in Self Hosted

Related apps.

Deploy Kimai now. From $2.48/mo.