DigitalOcean Deployment Guide
Deploy Ever Gauzy to DigitalOcean using App Platform or Droplets.
Option 1: App Platform
1. Create App
- Go to DigitalOcean → App Platform
- Select GitHub as source
- Choose the
ever-gauzyrepository - Select the Dockerfile for the API
2. Add Database & Redis
From App Platform dashboard:
- Add PostgreSQL database component
- Add Redis database component
3. Configure
Set environment variables in the App Platform settings:
NODE_ENV=production
DB_TYPE=postgres
JWT_SECRET=your-secret
API_BASE_URL=https://gauzy-api.ondigitalocean.app
Database and Redis URLs are auto-injected.
Option 2: Droplet
1. Create Droplet
- Ubuntu 22.04 LTS
- 4GB RAM / 2 CPUs recommended
- Enable monitoring
2. Install Docker
curl -fsSL https://get.docker.com | sh
3. Deploy
docker compose up -d
Related Pages
- Production Deployment — general guide
- Nginx Reverse Proxy — proxy setup