AI & LLMs2 GB RAM (Pro recommended)· Port 3080

Deploy LibreChat Multi-Model AI UI with Docker Compose

Self-hosted ChatGPT UI supporting OpenAI, Anthropic Claude, Google Gemini, Ollama, and RAG file search.

1. Production docker-compose.yml Configuration

Copy this stack definition or deploy directly from your Vexlo Cloud console with automatic Let's Encrypt TLS and persistent volume mounts.

docker-compose.yml
yaml
services:
  librechat:
    image: ghcr.io/danny-avila/librechat:latest
    restart: unless-stopped
    ports:
      - "3080:3080"
    environment:
      - HOST=${HOST:-0.0.0.0}
      - PORT=${PORT:-3080}
      - JWT_SECRET=${JWT_SECRET:-32-char-random-jwt-secret}
      - CREDS_KEY=${CREDS_KEY:-32-char-hex-credentials-key}
    volumes:
      - app_data:/app/client/public/images


volumes:
  app_data:

2. Required Environment Variables

VariableDefault / ExampleDescription
HOST0.0.0.0Bind address inside the container.
PORT3080HTTP port exposed by LibreChat.
JWT_SECRET32-char-random-jwt-secretSecret key for signing user auth tokens.
CREDS_KEY32-char-hex-credentials-keyEncryption key for stored API keys.

LibreChat Multi-Model AI UI Self-Hosting FAQs

How much RAM is required to self-host LibreChat Multi-Model AI UI in production?

LibreChat Multi-Model AI UI requires a minimum of 2 GB RAM (Pro recommended). On Vexlo Cloud Pro (₹149/mo via UPI in India or $5/mo globally), you get 2 vCPU, 3 GB RAM, and 2 managed databases—more than enough headroom for production workloads.

How do I expose LibreChat Multi-Model AI UI with automatic HTTPS/SSL on Vexlo Cloud?

Deploy the ghcr.io/danny-avila/librechat:latest container on Vexlo Cloud, set the exposed port to 3080, and attach your custom domain in the Domains tab. Vexlo automatically provisions and renews Let's Encrypt TLS certificates.

How is persistent data backed up for LibreChat Multi-Model AI UI?

Mount /app/client/public/images to a persistent Docker volume and connect Vexlo Cloud's automated S3 / Cloudflare R2 backup scheduler to snapshot your database daily or weekly.

More 1-Click Docker Templates

View all 25 templates →