Setup & Deployment
Installation, configuration, and deployment guides for Colibri
This section covers everything you need to get Colibri up and running, from initial installation to production deployment.
Installation Guides
| Guide | Description |
|---|---|
| Installation | Complete installation instructions for all deployment methods |
| Configuration | Environment variables, settings, and customization options |
| Storage | S3-compatible storage setup (MinIO, AWS S3, Cloudflare R2) |
Deployment
| Guide | Description |
|---|---|
| Deployment | Production deployment strategies and best practices |
| Troubleshooting | Common issues and their solutions |
Architecture
| Guide | Description |
|---|---|
| Architecture Overview | Technical architecture and system design |
Quick Start
For the fastest path to a running Colibri instance, see the Quick Start guide.
Deployment Methods
Colibri supports multiple deployment methods to fit your infrastructure:
Docker Compose (Recommended)
The simplest way to deploy Colibri with all dependencies:
# Clone the repository
git clone https://github.com/colibri-hq/colibri.git
cd colibri
# Copy and configure environment
cp .env.example .env
# Edit .env with your settings
# Start all services
docker compose up -dThis starts:
- Colibri web application - Main application server
- PostgreSQL - Database server
- MinIO - S3-compatible object storage
Manual Installation
For advanced users who want full control:
- Set up PostgreSQL 15+
- Configure S3-compatible storage
- Install Node.js 18+
- Build and run the application
See the Installation Guide for detailed instructions.
Configuration Overview
Required Environment Variables
| Variable | Description |
|---|---|
DB_URL | PostgreSQL connection string |
JWT_SECRET | Secret key for JWT tokens |
APP_SECRET_KEY | Secret for URL signing |
Storage Configuration
| Variable | Description |
|---|---|
S3_ENDPOINT | S3-compatible endpoint URL |
S3_ACCESS_KEY_ID | Storage access key |
S3_SECRET_ACCESS_KEY | Storage secret key |
S3_BUCKET | Default bucket name |
See Configuration for the complete reference.
System Requirements
Minimum Requirements
- CPU: 2 cores
- RAM: 2 GB
- Storage: 10 GB (plus space for your library)
- Docker: 20.10+ with Compose v2
Recommended for Production
- CPU: 4+ cores
- RAM: 4+ GB
- Storage: SSD with adequate space for your collection
- Network: Stable internet for metadata enrichment
See Requirements for detailed specifications.
Security Considerations
Authentication
Colibri supports multiple authentication methods:
- Passkeys (WebAuthn) - Passwordless, phishing-resistant authentication
- Email Passcodes - One-time codes for fallback access
- OAuth 2.0 - Third-party application access
- API Keys - Programmatic access with scoped permissions
Network Security
For production deployments:
- Use HTTPS: Always deploy behind a reverse proxy with TLS
- Firewall rules: Restrict database and storage access
- Secrets management: Use environment variables or secrets managers
- Regular updates: Keep all components updated
Next Steps
- Install Colibri - Get Colibri running
- Configure your instance - Set up environment and settings
- Set up storage - Configure S3-compatible storage
- Deploy to production - Production deployment guide
- Upload your first book - Start building your library
Getting Help
- Troubleshooting Guide - Common issues and solutions
- GitHub Discussions - Community support
- GitHub Issues - Bug reports
Architecture Overview
Understanding Colibri's technical architecture
Read moreInstallation
Detailed installation guide for Colibri
Read moreSelf-Hosting Deployment
Deploy Colibri in production environments
Read moreConfiguration
Configure your Colibri instance
Read moreTroubleshooting Guide
Common issues and solutions for self-hosted Colibri instances
Read moreStorage Configuration
Configure S3-compatible storage for Colibri
Read more