DeploymentData pod
Self-Hosted Deployment
Self-Hosted Deployment
Complete guide for self-hosting your Data Pod
Overview
Self-hosting gives you complete control over your data and infrastructure. This guide covers manual setup without Docker.
Prerequisites
- Server: VPS or dedicated server (2GB RAM minimum)
- PostgreSQL: 16+ with TimescaleDB and pgvector
- Node.js: 20+ LTS
- pnpm: 8.15+
- Storage: R2, S3, or MinIO
Step 1: Install PostgreSQL
Ubuntu/Debian
Create Database
Step 2: Install Node.js
Step 3: Clone and Setup
Step 4: Initialize Database
Step 5: Setup Storage
Option A: Cloudflare R2
Option B: MinIO (Self-Hosted)
Step 6: Setup Ory
Install Ory Kratos + Hydra
Step 7: Run Services
Development
Production (PM2)
Maintenance
Backups
Updates
Next: See Docker Deployment for easier setup.
