Supported Platforms
LibreChat provides official deployment templates for:- Railway: Managed container platform with automatic scaling
- Zeabur: Edge-optimized deployment platform
- Sealos: Kubernetes-based cloud operating system
Railway Deployment
Railway provides a modern platform for deploying and scaling applications with minimal configuration.Quick Deploy
Configure Environment Variables
Railway will prompt you to configure required environment variables:
Wait for Deployment
Railway will automatically:
- Provision MongoDB, Meilisearch, and PostgreSQL
- Build and deploy the LibreChat container
- Configure networking and SSL certificates
- Provide you with a public URL
Features
- Automatic SSL: HTTPS certificates are provisioned automatically
- Managed Databases: MongoDB and PostgreSQL included
- Auto Scaling: Scales based on traffic
- Persistent Storage: Volumes for uploads and images
- Environment Management: Easy configuration updates
- GitHub Integration: Auto-deploy from your repository
Pricing
Railway offers:- Developer Plan: $5/month for hobby projects
- Team Plan: $20/month per seat
- Pay-as-you-go: Usage-based pricing
Railway provides 10-20/month depending on usage.
Custom Domain
To add a custom domain:- Go to your Railway project settings
- Navigate to Domains
- Add your domain and configure DNS:
Zeabur Deployment
Zeabur provides edge-optimized deployment with global CDN and automatic scaling.Quick Deploy
Select Region
Zeabur will ask you to choose a deployment region:
- Asia Pacific: Singapore, Tokyo, Hong Kong
- Europe: Frankfurt
- North America: San Francisco, New York
Configure Services
Zeabur automatically provisions:
- LibreChat application
- MongoDB database
- Meilisearch search engine
- PostgreSQL with pgvector
- RAG API service
Features
- Edge Network: Global CDN for low latency
- Auto Scaling: Horizontal scaling based on load
- Managed Services: All dependencies included
- Custom Domains: Easy domain configuration
- SSL Certificates: Automatic HTTPS
- Team Collaboration: Multi-user access
Pricing
Zeabur pricing:- Developer: 5 credit)
- Team: $20/month per member
- Enterprise: Custom pricing
Zeabur offers a 14-day free trial for new users. LibreChat typically costs $8-15/month for light usage.
Monitoring
Zeabur provides built-in monitoring:- Request logs and metrics
- CPU and memory usage
- Database performance
- Error tracking
Sealos Deployment
Sealos is a Kubernetes-based cloud operating system that provides a complete application runtime environment.Quick Deploy
Features
- Kubernetes Native: Full K8s cluster access
- Resource Control: Fine-grained CPU/memory limits
- Auto Healing: Automatic pod recovery
- Horizontal Scaling: Manual or auto-scaling
- Persistent Storage: Multiple volume types
- Custom Networking: Advanced ingress configuration
Architecture on Sealos
Pricing
Sealos uses pay-as-you-go pricing:- Compute: $0.045/core/hour
- Memory: $0.005/GB/hour
- Storage: $0.10/GB/month
- Traffic: $0.10/GB outbound
A typical LibreChat deployment (1 core, 2GB RAM, 20GB storage) costs approximately $30-40/month on Sealos.
Platform Comparison
| Feature | Railway | Zeabur | Sealos |
|---|---|---|---|
| Ease of Setup | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Customization | ⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| Managed Services | ✅ | ✅ | ✅ |
| Auto Scaling | ✅ | ✅ | ✅ |
| Custom Domains | ✅ | ✅ | ✅ |
| SSL Certificates | Auto | Auto | Auto |
| Kubernetes Access | ❌ | ❌ | ✅ |
| Global CDN | ✅ | ✅ | ❌ |
| Pricing (monthly) | $10-20 | $8-15 | $30-40 |
| Free Trial | $5 credit | 14 days | Usage-based |
Best Use Cases
Railway
Best for: Quick prototypes, hobby projects, startups- Fastest setup time
- Generous free tier
- Great for testing
Zeabur
Best for: Production apps, global audience, edge performance- Edge network for low latency
- Best performance globally
- Affordable pricing
Sealos
Best for: Enterprise deployments, complex requirements, full control- Complete Kubernetes access
- Fine-grained resource control
- Advanced networking options
Environment Variable Generation
All platforms require secure secrets. Generate them with:Post-Deployment Steps
Verify Deployment
Check that all services are running:
- Visit your application URL
- Register a new account
- Test chat functionality
Configure AI Providers
Add API keys for your preferred providers:
- OpenAI
- Anthropic (Claude)
- Google (Gemini)
- Azure OpenAI
Troubleshooting
Deployment Fails
- Check environment variables are set correctly
- Verify API keys are valid
- Check service logs in platform dashboard
Database Connection Issues
- Verify
MONGO_URIformat - Check database service is running
- Ensure network connectivity between services
Performance Issues
- Increase resource limits (CPU/RAM)
- Enable auto-scaling
- Add Redis for caching
Migration Between Platforms
To migrate from one platform to another:Next Steps
- Configure custom endpoints
- Set up OAuth authentication
- Explore Kubernetes deployment for advanced scaling