Self-Hosting Datanika with Docker Compose
说明与用途
使用 Docker Compose 自托管 Datanika,可让团队在不依赖云服务的情况下控制数据驻留、成本和供应商锁定,并提供零成本、可生产使用的部署。
问题
Teams need a cost‑effective, compliant, and vendor‑agnostic way to run Datanika’s data platform on their own infrastructure.
结果
After following the workflow, teams have a zero‑cost, self‑hosted Datanika deployment that meets data residency, cost, and vendor‑lock‑in requirements, with production‑ready security, backup, and monitoring.
工作流
- Clone the repo and enter the directory
- Copy .env.example to .env and set SECRET_KEY and ENCRYPTION_KEY
- Run docker compose up -d to start services
- Access the app at http://localhost:3000 and create an account
- Create a first pipeline via the UI
- Configure reverse proxy and TLS
- Back up the metadata Postgres and ENCRYPTION_KEY
- Secure network ports and passwords
- Set up monitoring (Grafana/Prometheus) and alerts
- Right‑size the host machine (8 GB RAM, 4 vCPU)
- Optional: point to managed PostgreSQL/Redis by setting DATABASE_URL and REDIS_URL
- Upgrade by pulling latest code and running docker compose up -d --build
- Deploy to Kubernetes using the provided Helm chart if desired
证据
The AGPL-3.0 core has no license key, no seat count, and no GB meter.
Docker Engine 24+ and Docker Compose v2 are prerequisites.
The Compose file ships optional Grafana + Prometheus profiles; wire them up or point your existing stack at the app's metrics.
- 记录日期: 2026-09-22T08:00:40.455Z