Scheduling

Cal.diy hosting

Self-hostable scheduling and calendar platform for managing meetings and bookings. Deploy to a dedicated VPS in seconds — database auto-created, SSL installed, firewall locked down from the first boot.

Latest

Versions

PostgreSQL

Database

Node

Category

SSL included
Firewall locked
DB auto-created
Live in minutes
Overview

What is Cal.diy?

Cal.diy is a self-hostable scheduling and calendar application designed to help individuals and teams manage availability, meetings, bookings and scheduling workflows from their own infrastructure.

Instead of depending entirely on a hosted scheduling service, Cal.diy can be deployed on your own VPS so you have greater control over application configuration, infrastructure, data storage and deployment.

The application combines a web interface with backend services and a database to manage users, calendars, availability, events and scheduling-related configuration. A production deployment should provide the application with a supported Node.js runtime, PostgreSQL database, HTTPS and a reliable process-management setup.

SharkCluster provides the server environment around your Cal.diy deployment. You can deploy the application, configure the required environment variables, connect PostgreSQL, add your domain, enable HTTPS and manage the application through SSH and the SharkCluster panel.

Quick facts

Version
Latest
Database
PostgreSQL
Category
Node
  • SSL included
  • Firewall locked
  • DB auto-created
  • Live in minutes
Why SharkCluster

Why Cal.diy on SharkCluster?

Self-hosted scheduling

Run your scheduling application on your own VPS instead of relying entirely on a third-party hosted environment.

PostgreSQL ready

Connect Cal.diy to PostgreSQL for persistent storage of users, calendars, events, availability and application configuration.

Node.js environment

Run the application using a Node.js runtime compatible with the Cal.diy release and its dependency requirements.

Custom domain

Connect your own domain or subdomain to provide a branded scheduling experience for your users and customers.

HTTPS included

Enable a free Let's Encrypt SSL certificate so scheduling pages, authentication and application traffic are protected with HTTPS.

Environment configuration

Configure database connections, application URLs, authentication settings and integrations using environment-specific configuration.

Developer access

Use SSH to install dependencies, run database commands, inspect logs and manage the application deployment.

VPS control

Control the server resources, operating environment, database services and application deployment instead of sharing infrastructure with unrelated applications.

Features

What you get with Cal.diy

  • Self-host Cal.diy on your own VPS

  • Node.js application runtime

  • PostgreSQL database support

  • Calendar and event management

  • Scheduling and availability workflows

  • Custom domain and subdomain support

  • Free Let's Encrypt SSL

  • Environment variable configuration

  • SSH-based application management

  • Git-based deployment where configured

  • Application process management

  • Application and server log access

  • Database backup support where enabled

  • Server firewall controls

  • Dedicated application system user

  • Production and staging deployment workflows

Use cases

What Cal.diy is built for

Personal scheduling

Run your own scheduling platform for managing personal availability, meetings and appointments.

Consultants and freelancers

Provide customers with a branded scheduling page for booking consultations, calls and appointments.

Business teams

Deploy a shared scheduling environment for teams that need centralized control over calendars and meeting workflows.

Customer bookings

Use scheduling workflows to allow customers or clients to select available meeting times.

Self-hosted infrastructure

Keep your scheduling application and its supporting database under infrastructure that you control.

Internal scheduling tools

Run a private scheduling application for internal meetings, availability management and team workflows.

Development and testing

Deploy separate development or staging environments to test application changes before releasing them to production.

System requirements

Server specs for
Cal.diy

Not sure which plan to pick? The panel warns you before you deploy so you can choose the right size the first time.

  • Minimum specs shown before deploy
  • Panel blocks deploy if server is undersized
  • Upgrade path available inside the panel
Runtime
Node.js version compatible with the selected Cal.diy release.
Database
PostgreSQL version supported by the selected Cal.diy release.
Web server
nginx recommended as a reverse proxy.
Package manager
Use the package manager specified by the Cal.diy project.
Memory
2 GB RAM minimum; 4 GB+ recommended for production.
CPU
2 vCPU minimum; 4+ vCPU recommended for production.
Storage
10 GB+ SSD recommended, depending on application data and backups.
Architecture

How Cal.diy fits together

1

Domain

Your domain or subdomain points to the SharkCluster VPS through DNS.

2

nginx

nginx receives HTTPS requests, handles SSL termination and forwards application traffic to the Cal.diy service.

3

Cal.diy application

The Node.js application handles authentication, scheduling, calendars, events, availability and application workflows.

4

Node.js runtime

Cal.diy runs using a Node.js version compatible with the application's release and dependency requirements.

5

PostgreSQL

PostgreSQL stores application data such as users, events, calendars, availability and configuration.

6

Environment configuration

Environment variables provide deployment-specific values such as database connections, application URLs, secrets and integration settings.

7

Process manager

The application should run as a managed service so it can restart automatically and remain available after server reboots.

Node.js versions

Pick the Node.js runtime that fits

Use the supported Node.js version

Use the Node.js version required by the Cal.diy release and its package dependencies. Check the project's current requirements before deployment.

Use the project lockfile

Install dependencies using the package manager and lockfile supplied by the project so deployments use reproducible dependency versions.

Avoid unnecessary runtime changes

Do not switch Node.js versions on a production deployment without testing the application and its dependencies against the target runtime.

Test upgrades on staging

Create a staging environment before upgrading Node.js, Cal.diy or major dependencies so database and application behavior can be verified safely.

Scheduling

Scheduling with Cal.diy

Availability

Configure available time windows so users can select appropriate meeting or appointment slots.

Calendar management

Manage calendars and scheduled events from the application's scheduling interface.

Booking workflow

Provide users with a scheduling flow where available times can be selected and appointments can be created.

Time zones

Verify timezone configuration carefully because scheduling applications must consistently handle the timezone of the application, users and calendar events.

Notifications

Configure the application's supported email or notification services where required so users receive relevant scheduling updates.

Get started

After your Cal.diy deploy

  1. 1

    Choose your server

    Select a VPS with enough CPU, RAM and SSD storage for your expected users, scheduling traffic and database workload.

  2. 2

    Deploy Cal.diy

    Deploy the application using the supported deployment workflow, such as Git or another application deployment method.

  3. 3

    Configure Node.js

    Use the Node.js version required by the Cal.diy release and install dependencies using the project's package manager and lockfile.

  4. 4

    Create the database

    Create a PostgreSQL database and user, then configure the application with the required database connection details.

  5. 5

    Configure environment variables

    Set the application URL, database connection, secrets and other environment-specific values required by your Cal.diy deployment.

  6. 6

    Run database migrations

    Apply the database migrations required by the installed application version before serving production traffic.

  7. 7

    Build the application

    Run the production build command specified by the Cal.diy project before starting the production application.

  8. 8

    Start the application

    Run the production application using the project's recommended start command and manage the process as a persistent service.

  9. 9

    Configure nginx

    Set nginx as a reverse proxy in front of the Cal.diy application and configure the appropriate local application port.

  10. 10

    Connect your domain

    Point your domain or subdomain to the VPS and configure the corresponding application domain settings.

  11. 11

    Enable HTTPS

    Enable a Let's Encrypt certificate and verify that all application traffic is served securely over HTTPS.

  12. 12

    Test scheduling

    Create a test user, configure availability, create a booking and verify the complete scheduling workflow before opening the application to users.

Deployment

Ship Cal.diy your way

Git deployment

Clone or pull the Cal.diy project from its Git repository, install dependencies using the project's lockfile and run the required build and migration commands.

Environment configuration

Configure production environment variables separately from source code and keep sensitive values out of Git repositories.

Production build

Build the application using the production build process defined by the deployed Cal.diy version before starting the service.

Managed process

Run the application as a managed service so it automatically restarts after failures and can start again after a server reboot.

Reverse proxy

Use nginx to expose the application through the configured domain while keeping the Node.js service bound to a local interface or private port.

Staging deployment

Maintain a separate staging environment when possible so application, dependency and database changes can be tested before production deployment.

Performance

Keeping Cal.diy fast

Use a production build

Run the optimized production build rather than development tooling when serving Cal.diy to real users.

Use a managed Node.js process

Keep the application running under a process manager or service configuration so it can recover from failures and restart after reboots.

Use nginx as a reverse proxy

nginx can handle HTTPS and static content while forwarding dynamic application requests to the Node.js service.

Optimize PostgreSQL

Monitor database queries, indexes, connections and storage usage as the number of users and scheduled events grows.

Monitor application resources

Monitor CPU, RAM, disk usage and application response times to identify resource bottlenecks before they affect scheduling availability.

Keep logs under control

Monitor application and nginx logs and configure appropriate retention so logs do not consume excessive disk space.

Separate background workloads

If the deployment uses background jobs or external integrations, keep resource-intensive processing from unnecessarily blocking normal scheduling requests.

Production checklist

Ready your Cal.diy for launch

  • Use a supported Node.js version

  • Use the package manager and lockfile required by the project

  • Install production dependencies

  • Create a dedicated PostgreSQL database and user

  • Configure the production database connection

  • Configure required environment variables

  • Set secure production secrets

  • Run required database migrations

  • Create a production build

  • Run the application as a managed service

  • Configure nginx as a reverse proxy

  • Point the domain to the VPS

  • Enable HTTPS

  • Verify application URL configuration

  • Test user registration and authentication

  • Test calendar creation

  • Test availability configuration

  • Test booking workflows

  • Test timezone behavior

  • Test email or notification delivery

  • Configure PostgreSQL backups

  • Review application and nginx logs

  • Enable server firewall

  • Review filesystem permissions

  • Monitor CPU, RAM and disk usage

  • Test the deployment before opening it to production users

Useful commands

Working with Cal.diy

Check Node.js version

Display the installed Node.js runtime version.

bash
node --version

Check npm version

Display the installed npm version.

bash
npm --version

Install dependencies

Install dependencies from the project's lockfile for a reproducible deployment when the project uses npm.

bash
npm ci

Build application

Build the application using the production build process defined by the project.

bash
npm run build

Start application

Start the production application using the start script defined by the project.

bash
npm run start

Check application port

List listening TCP ports and identify processes bound to application ports.

bash
ss -ltnp

Check PostgreSQL

Check the PostgreSQL service status on the server.

bash
sudo systemctl status postgresql

Connect to PostgreSQL

Open the PostgreSQL command-line client using the postgres system account.

bash
sudo -u postgres psql

Check nginx

Validate the nginx configuration before reloading the web server.

bash
sudo nginx -t

Reload nginx

Reload nginx after updating the reverse-proxy or SSL configuration.

bash
sudo systemctl reload nginx

Check service logs

View recent logs for a Cal.diy system service when the application is configured with the service name cal-diy.

bash
sudo journalctl -u cal-diy -n 100 --no-pager
Troubleshooting

Common Cal.diy issues & fixes

502 Bad Gateway

Cause
nginx cannot communicate with the Cal.diy Node.js application.
Solution
Check the Node.js service status, application logs, configured port and nginx reverse-proxy configuration.

Application is not starting

Cause
The application may have missing dependencies, invalid environment variables, an unsupported Node.js version or a build error.
Solution
Check the application logs, verify the Node.js version, install dependencies again and validate the required environment variables.

Database connection failed

Cause
The PostgreSQL service may be unavailable or the application's database connection settings may be incorrect.
Solution
Verify PostgreSQL status, database name, username, password, host, port and connection configuration.

Database migration failed

Cause
The database schema may not match the application version or the database user may not have the required permissions.
Solution
Review the migration error, verify the database connection and permissions and check the migration requirements for the deployed Cal.diy version.

Environment variable error

Cause
A required production environment variable may be missing or incorrectly configured.
Solution
Compare the deployment configuration with the environment variables required by the installed Cal.diy release and restart the application after changes.

Build fails

Cause
Node.js, package-manager or dependency versions may not match the application's requirements.
Solution
Check the project's required Node.js version, lockfile, package manager and dependency installation output.

Calendar or booking data is incorrect

Cause
Timezone, availability or calendar configuration may not match the user's intended scheduling settings.
Solution
Review application timezone settings, user availability, calendar configuration and the timezone used by the affected event.

Emails or notifications are not delivered

Cause
The configured email or notification provider may be missing, incorrectly configured or rejecting messages.
Solution
Check the notification configuration, credentials, application logs and provider delivery status.

Application becomes slow

Cause
High Node.js workload, database queries, excessive concurrent requests or insufficient VPS resources may be affecting response times.
Solution
Review CPU, RAM, PostgreSQL performance, application logs and request patterns before increasing server resources.

Application stops after SSH logout

Cause
The application was started from an interactive shell without a persistent process manager.
Solution
Configure the Cal.diy application as a managed service so it continues running independently of the SSH session.

Port already in use

Cause
Another application or Node.js process is already listening on the configured port.
Solution
Identify the process using the port and either stop the conflicting service or configure Cal.diy to use another available local port.
Security config

Hardened before your first request

Every deploy is locked down from boot — closed firewall, valid SSL, and restricted access by default.

  • Use a supported Node.js version and keep the Cal.diy application updated.

  • Keep PostgreSQL on a supported version and apply security updates regularly.

  • Serve the application exclusively through HTTPS in production.

  • Keep database passwords, application secrets and API credentials outside source control.

  • Use strong application secrets and replace development secrets before production deployment.

  • Restrict PostgreSQL so it is not unnecessarily exposed to the public internet.

  • Run the Node.js application under a dedicated non-root system user.

  • Keep the application directory and configuration files protected with appropriate filesystem permissions.

  • Configure the application URL and trusted domains correctly.

  • Review authentication and account-security settings before opening the application to public users.

  • Keep third-party integrations and API credentials protected.

  • Use a firewall and expose only the ports required by the application and administration workflow.

  • Keep backups protected from public access.

  • Apply application and dependency updates through a tested deployment process.

  • Use staging to test major application and dependency upgrades before production.

Database

The data layer behind Cal.diy

PostgreSQL

Cal.diy uses PostgreSQL as its persistent database layer for application data and scheduling-related information.

Database credentials

Keep the PostgreSQL connection string and database credentials in environment-specific configuration rather than committing them to source control.

Database migrations

Run the migration commands required by the deployed Cal.diy version after installing or upgrading the application.

Database backups

Back up the PostgreSQL database regularly and verify that backups can be restored before relying on them for production recovery.

Database access

Keep PostgreSQL restricted to the application and administrative access that actually requires it instead of exposing the database publicly.

Security checklist

Lock down Cal.diy from day one

  • Use HTTPS

  • Use a supported Node.js release

  • Keep Cal.diy and dependencies updated

  • Protect environment files

  • Use strong production secrets

  • Protect database credentials

  • Restrict PostgreSQL public access

  • Use a dedicated application system user

  • Do not run the application as root

  • Use least-privilege filesystem permissions

  • Configure trusted domains correctly

  • Protect authentication endpoints

  • Secure third-party integration credentials

  • Use firewall rules

  • Keep backups protected

  • Review application logs for authentication and security errors

  • Test major upgrades on staging

FAQ

Frequently Asked Questions

The questions we hear most from people deploying Cal.diy on SharkCluster.

Contact support

Cal.diy is a self-hostable scheduling and calendar application that can be deployed on your own infrastructure for managing calendars, availability, meetings and booking workflows.

Yes. Cal.diy is designed around self-hosted deployment, allowing you to run the application on infrastructure that you control.

Cal.diy uses PostgreSQL for persistent application data. The exact database version and configuration should match the requirements of the Cal.diy release you deploy.

Yes. You can connect a custom domain or subdomain to your Cal.diy deployment and configure HTTPS for the application.

Yes. Cal.diy can be used for scheduling and booking workflows where customers or other users select available times for meetings or appointments.

Yes. A VPS provides the CPU, RAM, storage and operating-system access required to run a self-hosted Cal.diy deployment.

Use the Node.js version specified by the Cal.diy release and its dependency requirements. Check the project's current deployment documentation before selecting or changing the runtime.

Yes. PostgreSQL can run on the same VPS for smaller deployments when enough memory, CPU and storage are available. Larger deployments may benefit from separating application and database workloads.

HTTPS is strongly recommended for production deployments, especially when users authenticate, manage calendars or submit booking information. A Let's Encrypt certificate can be used for the custom domain.

A 502 usually means nginx cannot communicate with the Cal.diy Node.js application. Check the application service, configured port and nginx reverse-proxy configuration.

Check the PostgreSQL service, database credentials, connection string, database permissions, hostname and port. Also verify that the application is loading the expected environment configuration.

Yes. Create a database and application backup, review the release requirements, test the upgrade in staging when possible, apply the required dependency and database migration changes and verify scheduling workflows before upgrading production.

Yes. You can run separate development, staging and production deployments when the VPS has enough resources. Each environment should have its own configuration and preferably its own database.

Yes. A Git-based workflow can be used to deploy application code, install dependencies, build the application, apply required migrations and restart the production service.

SharkCluster manages the VPS and deployment environment. Your Cal.diy application configuration, scheduling settings, integrations and application-level data remain under your control.

Self-hosting gives you control over the application deployment and source code, allowing supported configuration and customization according to the capabilities and licensing of the Cal.diy project.

A small development deployment can start with around 2 vCPU and 2–4 GB RAM. Production requirements depend on the number of users, concurrent requests, integrations, database workload and background processing.

Yes. Back up both the PostgreSQL database and application configuration/files where applicable. Test restoration periodically so the backup can be relied upon during a recovery scenario.

Yes. nginx can act as a reverse proxy in front of the Node.js application, handle HTTPS and serve the application through your custom domain.

Yes. A self-hosted deployment can be used for private or internal scheduling workflows when the application configuration and access controls meet your organization's requirements.

One-click setup

From deploy to live in minutes

Stack configured

Runtime, process manager and config files set up for you.

PostgreSQL wired

Database created with a user and credentials in your config.

SSL + firewall

Free Let's Encrypt certificate and closed-by-default UFW rules.

Deploy anytime

Push with Git, or use the built-in file manager and ZIP upload.

Start your journey today

How do you start
with SharkCluster?

To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.

No lock-in contracts
No credit card required
Dedicated DevOps manager