DataHub

System Requirements

Hardware, software, and network prerequisites for running DataHub.

Software requirements

ComponentRequirement
Container runtimeDocker Engine 24+ with Compose v2
Operating systemLinux (recommended), macOS, or Windows with Docker Desktop
BrowserModern evergreen browser (Chrome, Firefox, Safari, Edge)

Default host ports

SurfaceHost portContainer port
Console (Next.js)43003000
API (NestJS)44004000

Ports are chosen to avoid common conflicts on shared servers. Adjust in deploy/docker-compose.yml if needed.

Hardware recommendations

DeploymentCPURAMStorage
Demo / dev2 cores4 GB20 GB
Single-site production4+ cores8 GB100 GB+ (telemetry history grows over time)

The stack runs nine containers: API, frontend, five backend workers, PostgreSQL, Redis, and NATS JetStream.

Network

  • Runtime: No internet required except for optional notification channels (Slack, SMTP, Telegram)
  • Inbound: Console and API ports (or nginx reverse proxy on 443)
  • Field devices: Adapters connect outbound to NATS or are managed in-process by the orchestrator

Environment variables

Minimum for production (set in deploy/.env):

POSTGRES_PASSWORD=<strong>
JWT_SECRET=<long-random>
ADMIN_PASSWORD=<strong>
NEXT_PUBLIC_API_URL=https://your-domain.example

Do not override ASSET_FILES_DIR unless you intentionally change asset storage — Compose sets the default volume mount.

Production deployment

For VPS deployment with nginx and TLS, see Production deployment.