How to Self-Host Cal.com on a VPS with Docker (Step-by-Step, 2026)
Self-host Cal.com on a VPS with Docker in 2026: step-by-step deployment, domain and HTTPS, Google Calendar sync, costs, and the Black Friday 2026 deal check.
Updated November 2026. The fastest honest way to self-host Cal.com is a small VPS, Docker, a PostgreSQL database, your own domain with HTTPS, and thirty focused minutes — and this guide takes you through each step in order, including the email and calendar configuration most tutorials skip and most failed installs die on.
We may earn a commission when you buy through links on this page — at no extra cost to you.
TL;DR / Quick Verdict
Cal.com is open-source scheduling infrastructure — booking pages, calendar sync and team scheduling — that you can run on your own server instead of renting it as a SaaS. Self-hosting makes sense if you want your booking data on infrastructure you control, unlimited event types without a per-seat bill, or an embeddable scheduler inside your own product. You need a VPS with at least 2GB of RAM, a domain, and a transactional email account for booking notifications. If you would rather skip server maintenance entirely, the hosted version at Cal.com starts free with unlimited booking links, and its Teams plan is $12 per user/month on annual billing as of Nov 25, 2026. Black Friday check: no Cal.com Black Friday promotion was recorded in our Nov 25, 2026 verification — the self-hosted route is free either way, which is rather the point.
What Is Cal.com?
Cal.com is an open-source scheduling platform that gives individuals and teams shareable booking links, automatic timezone detection, conflict checking against connected calendars, routing forms and workflow notifications, with integrations for 100+ apps. It runs in two forms: a hosted cloud service, and a self-hosted open-source deployment — the subject of this guide. The hosted free plan already includes unlimited booking links and calendar connections, which sets the honest bar for self-hosting: you do it for control, customization and data ownership, not because the free tier is crippled.
What You Need Before You Start
- A VPS with 2 vCPU and 2GB RAM or better, running a current Ubuntu LTS. Any of the budget providers in our Best Budget VPS comparison will run Cal.com comfortably; scheduling is a light workload.
- A domain or subdomain you control (for example
book.yourdomain.com) pointed at the VPS. - A transactional email service (any SMTP provider) — booking confirmations and reminders are email, and an install that cannot send mail is a broken install.
- Docker and Docker Compose installed on the server.
- About 30–45 minutes, and a Google account if you want Google Calendar sync in Step 6.

The Cal.com official pricing page, captured November 25, 2026.
Step-by-Step: Deploy Cal.com with Docker
Step 1: Prepare the server
- SSH into your fresh VPS and update the system packages.
- Install Docker Engine and the Compose plugin from Docker's official repository.
- Create a dedicated directory for the deployment, for example
/opt/calcom, and work inside it for every step that follows. - Open only the ports you need: SSH, 80 and 443. The application port stays behind your reverse proxy.
Step 2: Configure the environment before you start anything
- Copy the project's example environment file to
.envinside your deployment directory. - Set a strong, unique database password — generate one, do not type one.
- Set the web app URL variable to your final HTTPS address (
https://book.yourdomain.com). Cal.com builds links and calendar invites from this value; changing it later means re-issuing every booking link. - Set the encryption and signing secrets the example file lists, using freshly generated random values for each.
- Add your SMTP host, port, credentials and a sender address on your own domain. Booking emails from a random-looking sender land in spam and quietly destroy the whole point of the tool.

The Cal.com official homepage, captured November 25, 2026.
Step 3: Start the stack
- Pull the images and start the Compose stack in detached mode.
- Watch the logs until the web service reports it is listening and database migrations have completed. First boot runs migrations against an empty database and takes longer than every later boot.
- Confirm the database container is healthy and stays up — a restart loop here is almost always a mismatched password between the app and database environment values.
Step 4: Put HTTPS in front of it
- Point your subdomain's DNS A record at the VPS and wait for it to resolve.
- Add a reverse proxy (Caddy or Nginx) that forwards your subdomain to the Cal.com container's port.
- Issue a Let's Encrypt certificate and force HTTPS. Booking pages collect names, emails and meeting details; serving them over plain HTTP is not a gray area.
- Load
https://book.yourdomain.comand confirm the page renders with a valid certificate and no mixed-content warnings.

Detail of the Cal.com official pricing page, captured November 25, 2026.
Step 5: Create the admin account and your first event type
- Open the setup flow in your browser and create the first user — this becomes the administrator.
- Set your timezone, weekly availability and a username; your public link is now live at your subdomain plus username.
- Create one 30-minute event type with a clear title, a video-conferencing location and one buffer before and after.
- Book yourself from a private browser window using a different email address, and verify the full loop: confirmation email arrives, the event lands on your calendar, and the cancellation link works. Do not skip this test — it exercises SMTP, timezone handling and calendar writes in one pass.
Step 6: Connect Google Calendar
- In your Google Cloud project, create OAuth credentials for a web application.
- Add your subdomain's callback URL exactly as Cal.com requests it — a single trailing-slash mismatch is the classic failure here.
- Paste the client ID and secret into your Cal.com configuration and restart the stack if your deployment requires it.
- Connect your calendar from the Cal.com apps screen, book a test event over an existing busy block, and confirm Cal.com refuses the slot. Conflict checking that has never been tested is a hope, not a feature.
Keeping It Alive: Updates, Backups, and the Two Failures Everyone Hits
Back up the database, not the containers: a nightly dump of PostgreSQL plus a copy of your .env is a complete restore kit, and you should test restoring it once before you need it. Update by pulling the new image and restarting the stack, reading the release notes first when a migration is announced, and never auto-updating a production scheduler on a Friday afternoon. The two failures we see repeatedly are expired certificates (solve it with automatic renewal and one calendar reminder to yourself) and silent email breakage after an SMTP credential rotation — which is why the self-test booking in Step 5 belongs in your monthly maintenance, not just in this tutorial.
If the maintenance paragraph made you tired rather than interested, that is useful information: the hosted Cal.com free plan includes unlimited links and calendars, and Teams at $12 per user/month (annual billing, Nov 25, 2026) adds round-robin scheduling, routing forms and branding removal. Self-hosting is a control decision, not a savings decision at this scale. Teams comparing the two hosted products directly should read Cal.com vs Calendly next.
Black Friday 2026 Deal
We checked Cal.com's official pricing page on Nov 25, 2026: Cal.com is not running a public Black Friday 2026 discount. That barely matters for this tutorial — the self-hosted version in this guide is free, and the cloud Teams plan's only saving is its year-round annual-billing discount. In our verification of Cal.com's official pricing page on that date we found no Black Friday promotion, which is consistent with how the product is priced: the self-hosted open-source version is free, and the hosted free plan already includes unlimited booking links and calendar connections. The most economical buying pattern, if you do go hosted, is annual billing on Teams ($12 per user/month as listed on Nov 25, 2026, shown with a "Save 25%" annual note) — and readers arriving through a referral may see an additional introductory discount on the landing page; treat anything shown there as the operative offer rather than relying on third-party coupon listings.
Cost Summary
Item | Cost (Nov 25, 2026) | Notes |
|---|---|---|
Cal.com software (self-hosted) | $0 | Open source |
Budget VPS (2GB class) | From ~$5–7/month at the providers in our VPS comparison | The only required spend |
Domain | Your existing domain, subdomain free | No new purchase needed |
Transactional email | Free tiers usually suffice at booking volume | Required, not optional |
Hosted alternative: Cal.com Teams | $12/user/month, annual billing | For round-robin and routing forms without a server |
FAQ
Is self-hosted Cal.com really free? The software is open source and free to run; your costs are the VPS, which starts around $5–7 a month for a suitable budget server, plus a domain you likely already own. There is no per-user fee on a self-hosted instance, which is why teams feel the savings first.
How much RAM does Cal.com need? Plan on 2GB as the practical floor for the application plus its PostgreSQL database in Docker, with 2 vCPU keeping the interface responsive. It will boot on less, but booking pages are a public-facing surface — do not size them like a hobby script.
Can I migrate from the hosted Cal.com or Calendly later? You can recreate event types and availability on a self-hosted instance in under an hour, and Cal.com's hosted product offers one-click import of Calendly events as of Nov 25, 2026. What does not move automatically is your old booking URL — redirect it or keep it live during the transition.
Does self-hosted Cal.com send reminder emails automatically? Yes, provided your SMTP settings are correct — workflows and notifications are core features. This is also the first thing that silently breaks when mail credentials rotate, which is why this guide insists on a full test booking after setup and after any mail change.
Self-host Cal.com or use the hosted version: which is better? Self-host if data control, deep customization or embedding scheduling into your own product matters, and you accept updates and backups as your job. Use the hosted version if you simply need booking links that work — its free plan is unusually complete, with unlimited links and calendars.
What breaks most often in a Cal.com Docker install? Environment mismatches: a database password that differs between services, a web URL set to the temporary HTTP address, or a Google OAuth callback missing a character. Work through Step 2 slowly and the install is uneventful; rush it and you will debug all three.
---
More self-hosting projects that pair well with this one live in our curated self-hosted tools shortlist and the full self-hosting tools library — every entry is a tool we have actually deployed on the same class of VPS used here.
Last updated: November 25, 2026.
Keep reading
- Lunacal vs Cal.com: Which Scheduler Wins in 2026? — a booking page built to sell, vs open-source scheduling.
- DeskTime Review 2026: Remote Team Time Tracking — time tracking a remote team will actually keep.
- Offorte Tutorial 2026: Proposals Clients Open and Sign — proposals clients open, read, and sign.

Discussion
No comments yet