Self-Hosting Guide
Complete guide for deploying and managing the open source version of our authentication platform

This guide covers deploying our open source authentication platform in your infrastructure.
System Requirements
- Docker 20.10+
- PostgreSQL 14+
- Redis 6+
- 2 CPU cores, 4GB RAM minimum
Docker Deployment
version: '3.8'
services:
auth-server:
image: authcompany/server:latest
environment:
- DATABASE_URL=postgres://user:pass@db:5432/auth
- REDIS_URL=redis://redis:6379
ports:
- "8080:8080"
depends_on:
- db
- redis
Configuration
Create config.yaml
:
server:
port: 8080
host: 0.0.0.0
database:
pool_size: 20
security:
jwt_secret: "your-secret-key"
Backup & Recovery
Regular backups are essential. Use our backup script:
./scripts/backup.sh --full
For detailed configuration options, see our configuration reference.