Installation Guide
Step-by-step self-hosted install for SwiftChat on Docker, Kubernetes, or a VPS.
12 min read Updated 2026-07-18
Installation Guide
SwiftChat is a self-hostable, multi-tenant SaaS. The recommended production stack is Docker + Nginx + managed Postgres. All commands below assume Linux (Ubuntu 22.04+) or macOS.
1. System requirements
- CPU: 4 vCPU (production) · 2 vCPU (staging)
- RAM: 8 GB minimum · 16 GB recommended
- Storage: 50 GB SSD for the app + backup volume
- OS: Ubuntu 22.04 LTS, Debian 12, or any Docker-capable host
- Postgres: 15+ with the
pgvectorandpg_cronextensions - Node.js: 20+ (only needed if building from source)
2. Clone and configure
git clone https://github.com/your-org/wadiff.git
cd wadiff
cp .env.example .envEdit .env and set every required secret (see the Administrator Guide for the full list).
3. Bring the stack up
docker compose up -d
docker compose logs -f appWait for the readiness probe at http://localhost:8080/api/public/health/ready to return 200.
4. First-run wizard
Open https://<your-domain> and complete the on-screen wizard:
- Create the super-admin account
- Connect Postgres (auto-detected inside Compose)
- Paste your WhatsApp Cloud API credentials
- Select an AI provider (Lovable AI is preselected)
5. Verify install
- Homepage renders
/api/public/healthreturnsok- Super-admin can sign in and see the platform dashboard
If any check fails, jump to the Troubleshooting Guide.