Deployment

Deploy RepoDocs to your own server or cloud

Deployment

RepoDocs can be deployed anywhere that runs Node.js and Docker.

Requirements

  • Docker & Docker Compose
  • 1GB RAM minimum
  • PostgreSQL 16+
  • Redis 7+

Quick Deploy

Production Checklist

  • Set strong NEXTAUTH_SECRET
  • Configure GitHub OAuth with production URLs
  • Set up reverse proxy (nginx/caddy)
  • Enable SSL/TLS
  • Configure backups for PostgreSQL
  • Set up monitoring

Cloud Platforms

Vercel

Required services:

  • Vercel Postgres or Neon
  • Vercel KV or Upstash Redis

Railway

Railway auto-provisions PostgreSQL and Redis.

DigitalOcean App Platform

  1. Connect your GitHub repo
  2. Select "Docker" as build type
  3. Add PostgreSQL and Redis as managed services
  4. Deploy

Reverse Proxy

Nginx

Caddy

Caddy automatically handles SSL certificates.

Health Checks