Self-Host dTax

Run dTax on your own server with Docker. Full control over your data, same powerful features.

Coming Soon

What's Coming

We're building official Docker images so you can run dTax entirely on your own infrastructure. Self-hosted instances connect to our billing service — same subscription plans, your data stays local.

Full Data Control

All transaction data stored on your server. Nothing leaves your infrastructure.

One-Command Deploy

Pull the Docker image and start with docker-compose. No build steps required.

Auto Updates

Pull the latest image to get new features, parsers, and tax rule updates.

Subscription Plans

Same PRO and CPA plans as cloud. Self-hosted instances verify subscription through our billing service.

How It Will Work

Once available, deploying dTax will be as simple as pulling our Docker image. Your subscription (FREE / PRO / CPA) is verified online — no license keys needed.

# Pull the official image
docker pull ghcr.io/dtaxlab/dtax:latest

# Start all services
docker-compose up -d

# Access dTax in your browser
# http://localhost:3000

* Exact commands may change before release. Subscribe to our GitHub repo for updates.

Architecture Overview

dTax runs three containers: an API server, a web frontend, and a PostgreSQL database.

API (Fastify)
Port 4000
Web (Next.js)
Port 3000
PostgreSQL
Port 5432

Open Source Core

dTax's core tax engine, shared types, and CLI are fully open source under AGPL-3.0. You can inspect, audit, and contribute to the calculation logic on GitHub.

tax-engine
Cost basis calculation, 23 CSV parsers, Form 8949
shared-types
TypeScript type definitions shared across packages
CLI
Command-line tax calculator (npm install @dtax/cli)

License

dTax core engine is licensed under AGPL-3.0 — free for personal use. Self-hosted instances require an active subscription (FREE tier included). Commercial use (SaaS hosting, reselling) requires a separate license.

Want to be notified when self-hosting is available?

Star on GitHub
Ask AI about crypto taxes