🔧 DevOps

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

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_SECRET and JWT_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

Edit this page

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey