Self-Host dTax

Run the open-source engine on your own server, or arrange a self-hosted installation of the full application.

By Arrangement

How Self-Hosting Works

The web application and API are proprietary. We provide the container images and deployment files per installation; your data stays on your server. Email [email protected] for scope and pricing.

Full Data Control

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

Docker Compose Deploy

Once access is arranged, pull the Docker images and start the stack with Docker Compose after configuring your .env file.

Auto Updates

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

Subscription Plans

The same FREE, PRO and CPA plan tiers as the cloud service apply to every installation.

Deployment

After we arrange access, you pull the images and start the stack with Docker Compose. The commands below show the shape of a deployment; the deployment guide has the exact steps.

# Pull the official image
docker compose pull

# Start all services
docker compose up -d

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

* Registry access is granted per installation — email [email protected].

Architecture Overview

dTax runs an API server, a web frontend and a PostgreSQL database behind an nginx reverse proxy.

API (Fastify)
Port 3001
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, 29 CSV parsers, Form 8949
shared-types
TypeScript type definitions shared across packages
CLI
Command-line tax calculator (npm install @dtax/cli)

License

The dTax core engine and CLI are licensed under AGPL-3.0. The web application and API are proprietary (commercial license). Commercial use such as SaaS hosting or reselling requires a separate license.

Want to self-host the full application?

Star on GitHub