Scheduling & Bookings⭐ 36k+ GitHubLicense: AGPL v3

How to Self-Host Cal.com with Docker Compose

Open-Source Alternative to: Calendly ($12/seat/mo)

Cal.com gives agencies, doctors, consultants, and tech teams a customizable booking platform that embeds cleanly into any website with Google, Outlook, and Apple Calendar sync.

MINIMUM HARDWARE
2 GB RAM, 2 vCPU, 20 GB Disk
ESTIMATED SAVINGS
$1,440/year
OFFICIAL REPOSITORY
github.com/calcom/cal.com ↗

Production Docker Compose File

Copy this tested configuration directly into your server's directory:

🐳 docker-compose.yml
version: '3.8'
services:
  calcom:
    image: calcom/cal.com:latest
    restart: always
    ports:
      - '3000:3000'
    environment:
      - DATABASE_URL=postgresql://calcom:secret@cal-db:5432/calcom
      - NEXTAUTH_SECRET=generate_random_secret_here
    depends_on:
      - cal-db
  cal-db:
    image: postgres:15-alpine
    environment:
      - POSTGRES_USER=calcom
      - POSTGRES_PASSWORD=secret
      - POSTGRES_DB=calcom
    volumes:
      - cal_data:/var/lib/postgresql/data
volumes:
  cal_data:

Quick Deployment Steps

1. docker compose up -d 2. Open http://localhost:3000 3. Complete the initial setup wizard to link your calendar.

Key Advantages & Trade-Offs

✓ Why Self-Host Cal.com?

  • Complete white-label branding on your custom domain
  • Supports complex team booking: round-robin, collective, and fixed hosts
  • Built-in Stripe integration for paid appointment bookings

⚠ What to Keep in Mind

  • Requires configuring Google/Microsoft OAuth credentials in cloud consoles
  • Next.js build setup is resource intensive on small VPS servers

More Self-Hosted Alternatives

Knowledge & Workspace
AppFlowy
Replaces Notion ($10/seat/mo)
Project Management
Plane
Replaces Jira ($8.50/seat/mo) & Linear
No-Code Database
NocoDB
Replaces Airtable ($20/seat/mo)