{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9e823ff7-7a9c-4c23-9b66-cdc927eac8c6",
    "slug": "cal-com",
    "name": "Cal.com",
    "description": "Open-source scheduling, Calendly alternative",
    "url": "https://railway.com/deploy/cal-com",
    "upstream": {
      "image": "calendso/calendso:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "calcom",
      "source": {
        "image": "calendso/calendso:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "cron",
      "source": {
        "image": "curlimages/curl:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "calcom",
      "description": "HTTP port the app listens on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "CRON_API_KEY",
      "service": "calcom",
      "description": "Auth for scheduled job endpoints",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "calcom",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXTAUTH_URL",
      "service": "calcom",
      "description": "Authentication callback base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "calcom",
      "description": "Node heap ceiling for the container",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=4096"
    },
    {
      "key": "DATABASE_HOST",
      "service": "calcom",
      "description": "Host:port awaited before migrating",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NEXTAUTH_SECRET",
      "service": "calcom",
      "description": "Session cookie signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_DIRECT_URL",
      "service": "calcom",
      "description": "Direct connection for migrations",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_WEBAPP_URL",
      "service": "calcom",
      "description": "Public base URL of the app",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CALENDSO_ENCRYPTION_KEY",
      "service": "calcom",
      "description": "Credential encryption key, 32 chars",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEXT_PUBLIC_WEBSITE_URL",
      "service": "calcom",
      "description": "Base URL used for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CALCOM_TELEMETRY_DISABLED",
      "service": "calcom",
      "description": "Disables anonymous usage telemetry",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "CAL_APP_URL",
      "service": "cron",
      "description": "Private URL of the app",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CRON_API_KEY",
      "service": "cron",
      "description": "Shared key matching the app",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CRON_TARGETS",
      "service": "cron",
      "description": "Endpoints called each run",
      "secret": false,
      "strategy": "default",
      "default": "bookingReminder webhookTriggers workflows/scheduleEmailReminders"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, a subdirectory of the volume mount",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Standard PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "libpq alias of the superuser name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "libpq alias of the default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "libpq alias of the superuser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "rRAILWAY_PRIVATE_DOMAINailway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity window of the generated self-signed TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Grace period for in-flight connections on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cal-com"
      }
    },
    "cli": "railway deploy --template cal-com",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9e823ff7-7a9c-4c23-9b66-cdc927eac8c6",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0cc85f08-248e-4d7e-b1dd-766e6ccdf9ad": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/cal-com-light.svg",
                  "name": "calcom",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/auth/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "calendso/calendso:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the app listens on",
                      "defaultValue": "3000"
                    },
                    "CRON_API_KEY": {
                      "isOptional": false,
                      "description": "Auth for scheduled job endpoints",
                      "defaultValue": "{{CRON_API_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "NEXTAUTH_URL": {
                      "isOptional": false,
                      "description": "Authentication callback base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node heap ceiling for the container",
                      "defaultValue": "--max-old-space-size=4096"
                    },
                    "DATABASE_HOST": {
                      "isOptional": false,
                      "description": "Host:port awaited before migrating",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432"
                    },
                    "NEXTAUTH_SECRET": {
                      "isOptional": false,
                      "description": "Session cookie signing key",
                      "defaultValue": "{{NEXTAUTH_SECRET}}"
                    },
                    "DATABASE_DIRECT_URL": {
                      "isOptional": false,
                      "description": "Direct connection for migrations",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "NEXT_PUBLIC_WEBAPP_URL": {
                      "isOptional": false,
                      "description": "Public base URL of the app",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CALENDSO_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Credential encryption key, 32 chars",
                      "defaultValue": "{{CALENDSO_ENCRYPTION_KEY}}"
                    },
                    "NEXT_PUBLIC_WEBSITE_URL": {
                      "isOptional": false,
                      "description": "Base URL used for links",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CALCOM_TELEMETRY_DISABLED": {
                      "isOptional": false,
                      "description": "Disables anonymous usage telemetry",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "96b27b0c-28da-4897-adc5-e31521a9072c": {
                  "icon": null,
                  "name": "cron",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'rc=0; for p in ${CRON_TARGETS:-bookingReminder webhookTriggers workflows/scheduleEmailReminders}; do code=$(curl -sS -o /tmp/o -w \"%{http_code}\" -m 60 -X POST -H \"content-type: application/json\" -H \"authorization: $CRON_API_KEY\" \"$CAL_APP_URL/api/cron/$p\"); echo \"cron $p -> $code $(head -c 200 /tmp/o)\"; [ \"$code\" = \"200\" ] || rc=1; done; exit $rc'",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "curlimages/curl:latest"
                  },
                  "variables": {
                    "CAL_APP_URL": {
                      "isOptional": false,
                      "description": "Private URL of the app",
                      "defaultValue": "http://${{calcom.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "CRON_API_KEY": {
                      "isOptional": false,
                      "description": "Shared key matching the app",
                      "defaultValue": "${{calcom.CRON_API_KEY}}"
                    },
                    "CRON_TARGETS": {
                      "isOptional": false,
                      "description": "Endpoints called each run",
                      "defaultValue": "bookingReminder webhookTriggers workflows/scheduleEmailReminders"
                    }
                  }
                },
                "b6f5d8b3-6f0c-46f8-bd78-9add966f46b0": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory, a subdirectory of the volume mount",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Standard PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser name",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "libpq alias of the default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created on first boot",
                      "defaultValue": "rRAILWAY_PRIVATE_DOMAINailway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity window of the generated self-signed TLS certificate",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for in-flight connections on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "b6f5d8b3-6f0c-46f8-bd78-9add966f46b0": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "calcom",
      "method": "GET",
      "path": "/auth/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T05:44:27.711Z",
  "generator_version": "0.1.0"
}
