{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d1234391-bd6d-4f11-a084-4b5777beea06",
    "slug": "calcom-or-just-updated-calendly-alternat",
    "name": "Cal.com | (Just Updated) Calendly Alternative Nobody Else Can Claim First",
    "description": "Admin seeded before first boot, so no stranger can claim your instance.",
    "url": "https://railway.com/deploy/calcom-or-just-updated-calendly-alternat",
    "upstream": {
      "image": "ghcr.io/bon5co/calcom-railway:6.2.0"
    }
  },
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:17-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "calcom",
      "source": {
        "image": "ghcr.io/bon5co/calcom-railway:6.2.0"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_URL",
      "service": "calcom",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DATABASE_HOST",
      "service": "calcom",
      "description": "Provide a value for DATABASE_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NEXTAUTH_SECRET",
      "service": "calcom",
      "description": "Provide a value for NEXTAUTH_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CALCOM_ADMIN_EMAIL",
      "service": "calcom",
      "description": "Provide a value for CALCOM_ADMIN_EMAIL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_DIRECT_URL",
      "service": "calcom",
      "description": "Provide a value for DATABASE_DIRECT_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CALCOM_ADMIN_PASSWORD",
      "service": "calcom",
      "description": "Provide a value for CALCOM_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEXT_PUBLIC_WEBAPP_URL",
      "service": "calcom",
      "description": "Provide a value for NEXT_PUBLIC_WEBAPP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CALENDSO_ENCRYPTION_KEY",
      "service": "calcom",
      "description": "Provide a value for CALENDSO_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "calcom-or-just-updated-calendly-alternat"
      }
    },
    "cli": "railway deploy --template calcom-or-just-updated-calendly-alternat",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d1234391-bd6d-4f11-a084-4b5777beea06",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "afccff04-f412-4ac3-bbdb-bf89a813849b": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17-alpine"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "afccff04-f412-4ac3-bbdb-bf89a813849b": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "c792fa5a-e534-432f-a57c-5cfc94a80d82": {
                  "icon": null,
                  "name": "calcom",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/calcom-railway:6.2.0"
                  },
                  "variables": {
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgresql://postgres:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "DATABASE_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432"
                    },
                    "NEXTAUTH_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{NEXTAUTH_SECRET}}"
                    },
                    "CALCOM_ADMIN_EMAIL": {
                      "isOptional": false,
                      "defaultValue": "admin@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_DIRECT_URL": {
                      "isOptional": false,
                      "defaultValue": "postgresql://postgres:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "CALCOM_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{CALCOM_ADMIN_PASSWORD}}"
                    },
                    "NEXT_PUBLIC_WEBAPP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CALENDSO_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{CALENDSO_ENCRYPTION_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-05T23:54:15.610Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T12:57:03.450Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_db09dbb7530e49a6a9fa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 168,
    "typical_build_seconds": 0,
    "typical_start_seconds": 81,
    "slowest_service": "calcom"
  }
}
