CRM, Support & Productivity3 GB RAM (Pro or Scale)· Port 3000

Deploy Chatwoot Customer Support with Docker Compose

Open-source omnichannel customer support suite (Intercom & Zendesk alternative) with live chat & WhatsApp.

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:
  chatwoot:
    image: chatwoot/chatwoot:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - FRONTEND_URL=${FRONTEND_URL:-https://support.yourdomain.com}
      - SECRET_KEY_BASE=${SECRET_KEY_BASE:-64-char-rails-secret-key-base}
      - REDIS_URL=${REDIS_URL:-redis://redis:6379}
    volumes:
      - app_data:/app/storage
    depends_on:
      - postgres
      - redis

  postgres:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-change-me-db-password}
      - POSTGRES_DB=chatwoot
    volumes:
      - postgres_data:/var/lib/postgresql/data

  redis:
    image: redis:7-alpine
    restart: unless-stopped
    command: redis-server --maxmemory 256mb --maxmemory-policy allkeys-lru
    volumes:
      - redis_data:/data

volumes:
  app_data:
  postgres_data:
  redis_data:

2. Required Environment Variables

VariableDefault / ExampleDescription
FRONTEND_URLhttps://support.yourdomain.comPublic URL of your Chatwoot installation.
SECRET_KEY_BASE64-char-rails-secret-key-baseRails secret key base for session signing.
REDIS_URLredis://redis:6379Redis connection string for Sidekiq background workers.

Chatwoot Customer Support Self-Hosting FAQs

How much RAM is required to self-host Chatwoot Customer Support in production?

Chatwoot Customer Support requires a minimum of 3 GB RAM (Pro or Scale). 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 Chatwoot Customer Support with automatic HTTPS/SSL on Vexlo Cloud?

Deploy the chatwoot/chatwoot:latest container on Vexlo Cloud, set the exposed port to 3000, 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 Chatwoot Customer Support?

Mount /app/storage 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 →