Deployment
Deployment
Deploy Bingsan in various environments
Deployment
This section covers deploying Bingsan in various environments.
Deployment Options
Development
- Docker Compose - Quick local setup
Production
- Kubernetes - Scalable cloud deployment
- Docker - Single-node production
Quick Comparison
| Feature | Docker Compose | Docker | Kubernetes |
|---|---|---|---|
| Complexity | Low | Low | High |
| Scalability | Single node | Single node | Multi-node |
| HA | No | No | Yes |
| Monitoring | Manual | Manual | Integrated |
| Best for | Development | Small prod | Large prod |
Prerequisites
All Deployments
- PostgreSQL 15+ database
- Object storage (S3/GCS) for production
Docker
- Docker Engine 20.10+
- Docker Compose v2.0+ (for Compose deployments)
Kubernetes
- Kubernetes 1.24+
- kubectl configured
- Helm 3.x (optional)
Common Configuration
Regardless of deployment method, you'll need to configure:
- Database: PostgreSQL connection details
- Storage: S3/GCS credentials and bucket
- Auth (optional): OAuth/API key settings
See Configuration for all options.