---
title: "Deploy Calcom [Updated Jun'26]"
description: "Deploy and Host Calcom with Railway"
category: "Automation"
url: https://railway.com/deploy/calcom-1
---

# Deploy Calcom [Updated Jun'26]

Deploy and Host Calcom with Railway

**[Deploy Calcom [Updated Jun'26] on Railway](https://railway.com/template/calcom-1)**

- **Creator:** Tasha
- **Category:** Automation

## Template content

### calcom-railway

- **Source:** Amritasha/calcom-railway
- **Public domain:** Yes

## Documentation

# Deploy and Host Cal.com on Railway

Cal.com is an open-source scheduling infrastructure platform that lets individuals and teams manage bookings, appointments, and meetings. It serves as a self-hostable alternative to Calendly, giving you full control over your scheduling data and workflows.

## About Hosting Cal.com

Cal.com is a Next.js application that requires a PostgreSQL database for storing users, bookings, event types, and availability. Hosting it involves configuring database connection variables, a `NEXTAUTH_SECRET` for session management, and a `NEXTAUTH_URL` pointing to your public deployment URL. Email (SMTP) configuration is needed for booking confirmation notifications. Optional integrations with Google Calendar, Zoom, Stripe, and other providers are enabled via additional environment variables post-deploy.

## Common Use Cases

- Allowing clients or teammates to self-schedule meetings based on real-time availability
- Embedding a booking widget into a personal or business website
- Managing multi-user team scheduling with round-robin or collective event types

## Dependencies for Cal.com Hosting

- PostgreSQL (stores users, bookings, event types, and availability data)
- SMTP email provider (sends booking confirmations and notifications)

### Deployment Dependencies

- [Cal.com GitHub Repository](https://github.com/calcom/cal.com)
- [Cal.com Environment Variables Reference](https://github.com/calcom/cal.com/blob/main/.env.example)
- [Cal.com Self-Hosting Guide](https://cal.com/docs/self-hosting/deployment)

### Implementation Details

Key environment variables required on Railway:

```env
DATABASE_URL=${{Postgres.DATABASE_URL}}
NEXTAUTH_SECRET=
NEXTAUTH_URL=https://
CALENDSO_ENCRYPTION_KEY=
EMAIL_FROM=noreply@yourdomain.com
EMAIL_SERVER_HOST=
EMAIL_SERVER_PORT=587
EMAIL_SERVER_USER=
EMAIL_SERVER_PASSWORD=
```

Run database migrations on first deploy:

```bash
npx prisma migrate deploy
```

## Why Deploy Cal.com on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Cal.com on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — [Jul'26] WhatsApp automation platform using Evolution API, n8n & PostgreSQL
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/calcom-1
