Saltar al contenido principal

DigitalOcean Deployment Guide

Deploy Ever Gauzy to DigitalOcean using App Platform or Droplets.

Option 1: App Platformโ€‹

1. Create Appโ€‹

  1. Go to DigitalOcean โ†’ App Platform
  2. Select GitHub as source
  3. Choose the ever-gauzy repository
  4. 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