Self-Hosting Guide
Deploy oCore on your own infrastructure
Complete guide to hosting oCore on your own infrastructure. From initial hardware requirements through production-ready deployment with monitoring and scaling.
New to self-hosting? Start with the Requirements page to make sure your infrastructure is ready, then follow the Docker Compose guide for the recommended deployment method.
Requirements
Hardware specs, OS compatibility, network prerequisites, and software dependencies for running oCore.
Docker Compose
Deploy oCore with Docker Compose using the production-ready configuration with PostgreSQL, Redis, and Traefik.
Reverse Proxy
Configure Nginx, Caddy, or Traefik as a reverse proxy in front of oCore with WebSocket support.
SSL/TLS
Set up HTTPS with Let's Encrypt automatic certificates or bring your own TLS certificates.
Database Tuning
Optimize PostgreSQL settings for oCore workloads including connection pooling, memory, and vacuum configuration.
Backups
Configure automated backup schedules, retention policies, and offsite storage for disaster recovery.
Monitoring
Set up health checks, metrics collection, log aggregation, and alerting for your oCore deployment.
Scaling
Scale oCore horizontally with multiple workers, load balancing, and high-availability PostgreSQL.