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