CRM, Support & Productivity2 GB RAM (Pro recommended)· Port 3000

Deploy Cal.com Scheduling Infrastructure with Docker Compose

Open-source Calendly alternative for team meeting scheduling, Google/Outlook calendar sync, and payments.

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:
  cal-com:
    image: calcom/cal.com:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - NEXT_PUBLIC_WEBAPP_URL=${NEXT_PUBLIC_WEBAPP_URL:-https://cal.yourdomain.com}
      - NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-32-char-random-nextauth-secret}
      - CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY:-32-char-calendar-encryption-key}
    volumes:
      - app_data:/var/lib/postgresql/data
    depends_on:
      - postgres

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

volumes:
  app_data:
  postgres_data:

2. Required Environment Variables

VariableDefault / ExampleDescription
NEXT_PUBLIC_WEBAPP_URLhttps://cal.yourdomain.comPublic base URL for booking links.
NEXTAUTH_SECRET32-char-random-nextauth-secretSecret used to encrypt NextAuth session tokens.
CALENDSO_ENCRYPTION_KEY32-char-calendar-encryption-keySymmetric key for OAuth calendar tokens.

Cal.com Scheduling Infrastructure Self-Hosting FAQs

How much RAM is required to self-host Cal.com Scheduling Infrastructure in production?

Cal.com Scheduling Infrastructure 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 Cal.com Scheduling Infrastructure with automatic HTTPS/SSL on Vexlo Cloud?

Deploy the calcom/cal.com: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 Cal.com Scheduling Infrastructure?

Mount /var/lib/postgresql/data 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 →