Railway

Deploy Cal.com [Aug 26]

Calendly alternative: scheduling, bookings, appointments on Railway.

Deploy Cal.com [Aug 26]

/var/lib/postgresql/data

Deploy and Host Cal.com on Railway

About Hosting

Railway provides a modern, streamlined platform for deploying web applications and databases. This template bundles Cal.com — the open-source Calendly alternative for scheduling, booking and appointments — running on the official Docker image with a managed Postgres database. One-click deploy, persistent data, zero lock-in.

Why Deploy

Deploying this template gives you a production-ready scheduling platform in minutes:

  • Calendly alternative, self-hosted — unlimited bookings, no per-seat pricing, full control of your data
  • Official image pinnedcalcom/cal.com:v6.2.0 from Docker Hub (not a stale community build)
  • Migrations automated — Prisma migrate deploy runs on every boot, so your schema is always current
  • Public URL auto-configuredNEXT_PUBLIC_WEBAPP_URL and NEXTAUTH_URL are derived from your Railway domain at runtime
  • Postgres included — the template provisions a managed Postgres database pre-wired to the app
  • Production-ready defaults — healthcheck on /, restart policy, persistent storage

Common Use Cases

  • SaaS and agencies — embed scheduling in your product or offer booking as a service
  • Consultants and coaches — 1:1 meetings, discovery calls, and paid appointments
  • Recruiting and HR — interview slots, onboarding sessions, candidate scheduling
  • Teams and departments — round-robin routing, collective availability, and event types

Dependencies for

This template requires:

Deployment Dependencies

  • Postgres — a managed Railway Postgres database (the wizard wires DATABASE_URL automatically)
  • PORT — fixed to 3000 (Railway routes traffic/healthchecks by this variable)
  • NEXTAUTH_SECRET — random 32+ char secret for authentication (auto-generated in the wizard)
  • CALENDSO_ENCRYPTION_KEY — random 32+ char secret for encrypting sensitive data (auto-generated in the wizard)
  • DATABASE_DIRECT_URL — connection URL for migrations (same as DATABASE_URL for Railway Postgres)

Getting Started

  1. Click Deploy on Railway
  2. In the deploy wizard, the Postgres service and variables are pre-configured
  3. Wait ~3 minutes for the image pull and initial migrations
  4. Open the generated domain — create your admin account and start scheduling

Next Steps

  • Configure event types — set up your first booking types from the dashboard
  • Connect your calendar — integrate Google Calendar, Outlook, or CalDAV
  • Custom domain — add one to your Railway service for a branded booking page
  • Add Redis (optional) — set REDIS_URL for advanced caching and rate limiting

License

AGPL-3.0 (Cal.com)



Template Content

More templates in this category

View Template
NEW
Paperless-ngx
Document management with OCR on Railway with PostgreSQL and Redis

INAPP
1
View Template
open-excalidraw
Self-hostable collaborative drawing built on Excalidraw

Prateek Mohanty
1
View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

5