Advanced Topics
Self-Hosted Deploy
Deploy VerifyStack in your own infrastructure for maximum data control.
For organizations with strict data residency or compliance requirements, VerifyStack can be deployed in your own infrastructure. All data stays within your environment.
Requirements
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8+ GB |
| Storage | 20 GB SSD | 50+ GB SSD |
| PostgreSQL | 14+ | 16+ |
| Redis / KV | 6+ | 7+ |
| Node.js | 18+ | 20+ |
Deployment
Deploybash
# Clone the repository
git clone https://github.com/verifystack/self-hosted.git
cd self-hosted
# Install dependencies
npm ci
# Configure environment
cp .env.example .env
# Edit .env with your database and key settings
# Run database migrations
npx prisma migrate deploy
# Build and start
npm run build
npm run start
# Verify deployment
curl http://localhost:3000/api/healthMonitoring
The self-hosted deployment includes built-in Prometheus metrics:
- Prometheus metrics at /api/metrics
- Health check at /api/health
- Readiness probe at /api/ready
- Liveness probe at /api/live
Self-hosted deployments are responsible for their own backups, security patching, and scaling. We recommend the managed service unless you have specific data residency requirements.