DEV Community

DeploySaga
DeploySaga

Posted on

Self-Hosting Cal.com With Docker: What the Setup Actually Involves

Scheduling is one of the few SaaS categories where self-hosting is genuinely practical: the tool is open source, the data is yours, and the workload is light. Cal.com is the obvious candidate. I ran the full deployment on a clean VPS — here is what the setup actually involves, condensed, plus the honest version of when you should skip it and use the hosted plan.

The complete step-by-step, with a screenshot for every step, is here: Self-Host Cal.com on a VPS With Docker, Step by Step

When self-hosting is the right call

  • You want booking data on infrastructure you control
  • You need unlimited event types without a per-seat bill growing with the team
  • You want to embed the scheduler inside your own product or site, on your domain

If none of those apply, the hosted free plan is the smarter call — it exists, it works, and it needs zero maintenance. Self-hosting is a trade: money for ops time.

The deployment, condensed

  1. VPS + Docker. A small VPS is enough. The official Docker setup runs the app with PostgreSQL via Compose.
  2. The env vars that matter. NEXT_PUBLIC_WEBAPP_URL (your public URL — get this wrong and every booking link breaks), NEXTAUTH_SECRET, and DATABASE_URL. Set them before first boot, not after.
  3. Reverse proxy + HTTPS. Put it behind your proxy of choice and terminate TLS there; booking pages over plain HTTP will scare off exactly the people you want booking you.
  4. Calendar OAuth — the step everyone trips on. Google Calendar sync needs your own OAuth client credentials in the Google Cloud console. Budget ten minutes for this; it is the only genuinely fiddly part.
  5. Email. Booking confirmations go out via SMTP — wire a real sending service, because notifications landing in spam quietly destroys the whole point of a booking page.

The maintenance reality nobody mentions

  • You own updates. Cal.com ships often; a quarterly update cadence with a database backup first has been uneventful for us.
  • You own the database. Back up Postgres like it matters — it is your entire booking history.
  • You own uptime. If the VPS is down, nobody can book you. For a solo operator that risk is usually acceptable; for a sales team it might not be.

Verdict

Self-host if data control, unlimited event types, or embedding is worth a few hours of setup and light ongoing ops. Otherwise take the hosted free plan and spend the time on something billable. Both answers are respectable — the mistake is self-hosting by default because it feels more "yours."


DeploySaga publishes step-by-step software tutorials and verified comparisons — every tool installed on a clean machine, prices checked on official pages. Some links are affiliate links; they cost you nothing extra and keep the work free. Deal check for this one: no Cal.com Black Friday promotion was recorded in our November 25, 2026 verification — the self-hosted route is free either way.

Top comments (0)