
Deploy Cal.com [Aug 26]
Calendly alternative: scheduling, bookings, appointments on Railway.
Just deployed
/var/lib/postgresql/data
Just deployed
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 pinned —
calcom/cal.com:v6.2.0from Docker Hub (not a stale community build) - Migrations automated — Prisma
migrate deployruns on every boot, so your schema is always current - Public URL auto-configured —
NEXT_PUBLIC_WEBAPP_URLandNEXTAUTH_URLare 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_URLautomatically) PORT— fixed to3000(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 asDATABASE_URLfor Railway Postgres)
Getting Started
- Click Deploy on Railway
- In the deploy wizard, the Postgres service and variables are pre-configured
- Wait ~3 minutes for the image pull and initial migrations
- 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_URLfor advanced caching and rate limiting
License
AGPL-3.0 (Cal.com)
Template Content
PGDATA
PGPORT
POSTGRES_DB
POSTGRES_USER
SSL_CERT_DAYS
RAILWAY_DEPLOYMENT_DRAINING_SECONDS
PORT
DATABASE_URL
NEXTAUTH_SECRET
DATABASE_DIRECT_URL
CALENDSO_ENCRYPTION_KEY