Production Deployment Guide
Deploy Ever Gauzy to production environments with Docker, Kubernetes, or cloud platforms.
Prerequisitesβ
- Node.js 20+ or Docker
- PostgreSQL 14+ (recommended for production)
- Redis 6+ (for caching and job queues)
- 2GB+ RAM for API server
- Reverse proxy (Nginx, Caddy, or cloud LB)
Deployment Optionsβ
Docker Compose (Recommended)β
The fastest way to deploy all services:
version: "3.8"
services:
api:
image: ghcr.io/ever-co/gauzy-api:latest
environment:
- DB_TYPE=postgres
- DB_HOST=db
- DB_PORT=5432
- DB_NAME=gauzy
- DB_USER=postgres
- DB_PASS=your-secure-password
- REDIS_HOST=redis
- REDIS_PORT=6379
- JWT_SECRET=your-jwt-secret
ports:
- "3000:3000"
depends_on:
- db
- redis
webapp:
image: ghcr.io/ever-co/gauzy-webapp:latest
ports:
- "4200:4200"
environment:
- API_BASE_URL=http://api:3000
db:
image: postgres:16
environment:
- POSTGRES_DB=gauzy
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=your-secure-password
volumes:
- pgdata:/var/lib/postgresql/data
redis:
image: redis:7-alpine
volumes:
- redisdata:/data
volumes:
pgdata:
redisdata:
Kubernetesβ
See the Kubernetes Deployment guide.
Cloud Platformsβ
Post-Deployment Checklistβ
- Set strong
JWT_SECRETandJWT_REFRESH_SECRET - Configure database backups
- Set up monitoring and alerting
- Configure SMTP for email delivery
- Set up SSL/TLS certificates
- Configure CORS allowed origins
- Set
NODE_ENV=production - Enable rate limiting
- Configure file storage provider
Related Pagesβ
- Environment Variables Reference β all config options
- Monitoring & Observability β production monitoring
- Database Backup & Recovery β backup strategies