Self-hosted app·Developer tools, backends and AI
Wakapi hosting
on a Cloud VPS in Panama City.
Wakapi hosting on a 4 vCPU / 4 GB Cloud VPS in PTY1, Panama City: Docker Compose with Postgres and Caddy, real sizing, $12.99/mo, paid in crypto.
- Go
- SQLite
- Prometheus
- Grafana
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/06
What Wakapi is
and who runs it.
Wakapi is a self-hosted server for coding-time statistics, written in Go by Ferdinand Mütsch and published under the MIT licence. It has no editor plugins of its own: it accepts the heartbeats sent by the standard open-source WakaTime plugins and wakatime-cli, so moving an existing setup to your own server is a two-line change in ~/.wakatime.cfg. From those heartbeats it builds summaries per project, language, editor, machine and operating system, and it adds badges, weekly e-mail reports, a REST API, OpenID Connect login and optional Prometheus metrics under /api/metrics. It can import your history from WakaTime or run in parallel with it. The author is candid that it covers only a subset of WakaTime; personal goals and team features are among what it leaves out.
The people who run it are mostly individual developers who want the numbers without a subscription, and freelancers or small teams who would rather not hand client project names to a third party. The second reason is the better one. A heartbeat carries file paths, project and branch names, the editor, your hostname and timestamps — never file contents — but a year of paths and project names is a fairly precise record of who you work for and when. Self-hosting Wakapi keeps that record on a disk you control.
The project has one maintainer, who has temporarily stopped accepting pull requests, though releases keep coming: 2.18.0 on 14 September, 2.18.1 on 3 October and 2.18.2 on 14 October 2026. That is an active project with a thin bus factor, so pin the image version and read the release notes before each upgrade rather than following latest.
02/06
Requirements and sizing.
Since 2.17.2 the image is a statically linked binary on gcr.io/distroless/static:nonroot, running as UID 65532 and listening on port 3000. Its only dependency is a database. SQLite is the default and is fine for one or two people. For a team, use Postgres, which is what the upstream compose file ships (Postgres 17). MySQL 8.0+ and MariaDB 11.4+ are supported too; 2.18.1 warned that its migrations would likely fail on MariaDB (issue #981), and 2.18.2 lists that issue among its fixes.
The load is quiet with occasional spikes. Heartbeat ingestion is a trickle of small writes. The real work happens in the daily summary aggregation (default schedule 0 15 2 * * *, 02:15 server time) and in WakaTime imports; 2.18.1 fixed a bug that left the server unresponsive during aggregation, which shows where larger instances feel pressure. Upgrades can add another: 2.18.2 builds a new index on the heartbeats table at first boot, and the release notes warn this can take anywhere from seconds to hours on a large table.
Disk and transfer can at least be bounded with a theoretical calculation. WakaTime plugins send a heartbeat every two minutes of activity and on every save or file switch; take a generous 1,000 heartbeats per developer per working day and about 1 KB per stored heartbeat including indexes. Over 250 working days that is roughly 250 MB per developer per year, so a 20-person team adds about 5 GB a year. If the per-row assumption is wrong by a factor of five, 160 GB of NVMe is still not the constraint. The same assumption puts network use at around 22 MB per developer over a 22-day working month, which disappears against 15 TB.
| Plan | vCPU / RAM / NVMe | Transfer | Price | Fits |
|---|---|---|---|---|
| Starter | 2 / 2 GB / 80 GB | 10 TB at 1 Gbps | $6.99/mo | One or two users on SQLite, Caddy in front |
| Standard (recommended) | 4 / 4 GB / 160 GB | 15 TB at 1 Gbps | $12.99/mo | A team on Postgres, with room for Prometheus and Grafana |
| Pro | 6 / 8 GB / 320 GB | 20 TB at 1 Gbps | $22.99/mo | Only if the same VPS hosts other services; Wakapi alone does not need it |
Network needs are small: inbound 80 and 443 for the reverse proxy, outbound 443 for Let's Encrypt and WakaTime imports, and outbound SMTP if you enable mail. Port 3000 should never be published to the internet.
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/06
Deploying it
on a PTY1 VPS.
Order the VPS with Debian 13 from the deploy link above and point an A record — wakapi.example.com in the examples — at the IPv4 address you receive, so Caddy can obtain a certificate. Install Docker Engine and the compose plugin (docker-ce, docker-ce-cli, containerd.io, docker-compose-plugin) from Docker's own apt repository, which supports Debian 13 "trixie".
In /opt/wakapi, create a .env file readable only by root (chmod 600 .env). Fill both values with openssl rand -hex 32. The salt is a pepper for password hashing: lose it and every stored password stops working, so it belongs in your backups next to the database.
WAKAPI_PASSWORD_SALT=replace-with-random-hex
WAKAPI_DB_PASSWORD=replace-with-random-hexThe compose file below is the upstream one with three changes: a pinned image, the production settings the image leaves open, and Caddy for TLS. Wakapi publishes no port at all. Caddy reaches it over the compose network, which sidesteps the usual trap where ports published by Docker bypass the host firewall.
services:
wakapi:
image: ghcr.io/muety/wakapi:2.18.2
init: true
restart: unless-stopped
depends_on: [db]
environment:
WAKAPI_DB_TYPE: postgres
WAKAPI_DB_HOST: db
WAKAPI_DB_PORT: "5432"
WAKAPI_DB_NAME: wakapi
WAKAPI_DB_USER: wakapi
WAKAPI_DB_PASSWORD: ${WAKAPI_DB_PASSWORD}
WAKAPI_PASSWORD_SALT: ${WAKAPI_PASSWORD_SALT}
WAKAPI_PUBLIC_URL: https://wakapi.example.com
WAKAPI_INSECURE_COOKIES: "false"
WAKAPI_ALLOW_SIGNUP: "true" # set to "false" once your accounts exist
WAKAPI_DISABLE_FRONTPAGE: "true"
WAKAPI_LEADERBOARD_ENABLED: "false"
WAKAPI_DATA_RETENTION_MONTHS: "24" # your choice; -1 (default) keeps heartbeats forever
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: wakapi
POSTGRES_PASSWORD: ${WAKAPI_DB_PASSWORD}
POSTGRES_DB: wakapi
volumes:
- wakapi-db:/var/lib/postgresql/data
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data
volumes:
wakapi-db: {}
caddy-data: {}The Caddyfile needs three lines:
wakapi.example.com {
reverse_proxy wakapi:3000
}Run docker compose up -d and follow docker compose logs -f wakapi; the first start runs migrations, and the image's health check allows 120 seconds before it starts counting failures. Create your account, change WAKAPI_ALLOW_SIGNUP to "false" and run docker compose up -d again. Invite codes stay enabled by default, so you can still add colleagues to a closed instance. If you prefer SQLite, drop the db service, the depends_on line and the WAKAPI_DB_* variables, and mount a named volume on /data; with a bind mount instead, the directory must be owned by 65532.
On each workstation, set:
[settings]
api_url = https://wakapi.example.com/api
api_key = <API key from the Wakapi web interface>The WakaTime browser extension takes https://wakapi.example.com/api/compat/wakatime/v1 as its API URL.
For backups, a nightly docker compose exec -T db pg_dump -U wakapi -Fc wakapi > /var/backups/wakapi-$(date +%F).dump, copied off the server with restic or rclone to an object storage bucket over its S3 API, covers you. Keep .env in the same backup set. Upgrading means changing the tag, reading the notes, then docker compose pull && docker compose up -d. For 2.18.2 on a large database, create the new idx_user_project_time index by hand before switching, as the release notes suggest.
04/06
What it costs.
| Item | Per month |
|---|---|
| Cloud VPS Standard, PTY1 | $12.99 |
| Daily VPS backups (+20 %) | ≈ $2.60 (theoretical: 20 % of $12.99) |
Object storage, 250 GB, for pg_dump archives | $1.99 |
| Total with both backup layers | ≈ $17.58 |
The VPS price includes 15 TB of transfer at 1 Gbps — metered, not unmetered, though Wakapi will not come near it — plus full root, one IPv4 address and open outbound port 25. Yearly billing takes about 25 % off, which brings Standard to $116.99 a year instead of $155.88. If you keep only one backup layer, keep the pg_dump archives in a bucket, since they restore onto any server; daily snapshots are the faster way back from a bad upgrade. Current prices for every plan are on the pricing page.
Payment is in crypto only: AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT or XMR, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so a $50 top-up credits $52.50, about four months of Standard (theoretical). The unused paid part of a top-up is refundable within 14 days. Ordering is no-KYC: an email address is enough.
The honest downside is that there is no managed Wakapi. You patch the container yourself, and if an upgrade migration stalls in the middle of the night, the fix is yours. Support is by ticket, with priority support available for $10 a month.
05/06
Where the data sits,
legally.
On a PTY1 server your heartbeats sit in Panama City, under Panamanian law first. Personal data processing is governed by Law 81 of 26 March 2019, implemented by Executive Decree 285 of 28 May 2021. Article 29 of the Constitution allows private communications to be intercepted only on a judicial order, 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 a server here beyond the reach of a US criminal investigation: a Panama–US mutual legal assistance treaty has been in force since 6 September 1995, and requests under it are handled by Panamanian authorities. Separately, Law 51 of 2009 obliges telecommunications companies and similar networks to keep certain user data for six months; whether it applies to a hosting provider is a question for Panamanian counsel. The broader picture is on our offshore hosting page.
If you are an EU business tracking EU staff, Panama has no adequacy decision under the GDPR, so the transfer needs an Article 46 safeguard such as the 2021 standard contractual clauses.
06/06
Limits and your
obligations.
You are the administrator of the application and, for everyone else whose editor reports to it, the controller of their data. Coding-time records of named colleagues are working-time records: tell people what is collected, check the employment and data-protection rules where they work, and set a retention period rather than keeping heartbeats forever. Close public sign-ups once your accounts exist; an open instance means hosting strangers' data and answering for it. Keep the image current, because an exposed Wakapi that missed 2.17.6 is an authentication bypass waiting to be found.
If you enable mail, Wakapi sends password resets and weekly reports. Port 25 is open on every VPS, but a fresh IP has no sending reputation, so relay through an SMTP provider on port 465; whatever leaves your IP is your responsibility under our acceptable use policy. For copyright complaints the usual rule applies: 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; account questions are answered 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.
Is the $6.99 Starter VPS enough for Wakapi?
For one or two people on SQLite, yes. Two vCPU, 2 GB of RAM and 80 GB of NVMe are more than the binary and Caddy need. Choose Standard at $12.99 when you run Postgres for a team, or want Prometheus and Grafana on the same machine.
Can I keep my WakaTime account and use Wakapi as well?
Yes. wakatime-cli can send each heartbeat to several backends: keep the WakaTime key under [settings] and add a single .* = https://wakapi.example.com/api|<wakapi key> line under [api_urls]. Past data can be imported from WakaTime under Settings → Integrations in Wakapi.
Which database should I choose?
SQLite for a personal instance, Postgres 17 for a team, as in the upstream compose file. The README describes MySQL as the most extensively tested. MariaDB had a migration failure in 2.18.1 that 2.18.2 lists as fixed; test any upgrade on a copy first.
Does a server in Panama City slow down tracking if I code in Europe or Asia?
No. wakatime-cli caches heartbeats locally and sends them in batches, so round-trip time and short outages do not lose data. Only the web dashboard pays the distance.
What do I need to order, and how do I pay?
No-KYC: an email address is enough. Payment is crypto only (twelve currencies, including BTC, XMR and USDT) with prices in US dollars; top-ups start at $25 and the unused paid part is refundable within 14 days.
Can I keep the Postgres data directory on object storage?
No. Our buckets are S3-compatible object storage, not a block device, and a database must not run on one. Use them for pg_dump archives through restic, rclone or aws-cli, and keep the live database on the VPS's NVMe.
Sources
Every fact on this page, with its source
Accessed 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. 6Gaceta Oficial 26374
- Constitution of Panama, art. 29Gaceta Oficial 25176 (Legispan)
EU and other countries
- CLOUD Act executive agreementsUS Department of Justice · verified 31 Oct 2026
- GDPR art. 46 and standard contractual clausesRegulation (EU) 2016/679
Industry, providers and software
- Wakapi README, configuration table and supported databasesgithub.com/muety/wakapi
- Wakapi releases 2.17.2 (1 March 2026, distroless image, UID 65532), 2.17.6 (19 August 2026, authentication bypass), 2.18.0 (14 September 2026), 2.18.1 (3 October 2026, MariaDB note #981, aggregation fix)github.com/muety/wakapi/releases
- Wakapi 2.18.2 (14 October 2026, fixes incl. #981, heartbeats index)release notes
- Wakapi Dockerfile defaults and upstream compose.ymlDockerfile
- Wakapi container tagsghcr.io/muety/wakapi
- Debian 13 support for Docker EngineDocker documentation
Other references
- Heartbeat frequency and contentWakaTime FAQ
- Panama–United States 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.