{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1ca4a9d9-d8bc-43c2-9523-844693bbb686",
    "slug": "tldraw-railway",
    "name": "tldraw-railway",
    "description": "Self-host a private, multiplayer tldraw whiteboard on Railway.",
    "url": "https://railway.com/deploy/tldraw-railway",
    "upstream": {
      "repo_url": "https://github.com/callmechristian/tldraw-railway"
    }
  },
  "services": [
    {
      "name": "tldraw-railway",
      "source": {
        "repo": "https://github.com/callmechristian/tldraw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "VITE_TLDRAW_LICENSE_KEY",
      "service": "tldraw-railway",
      "description": "The tldraw license key. Must be provisioned from https://tldraw.dev/pricing",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tldraw-railway"
      }
    },
    "cli": "railway deploy --template tldraw-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1ca4a9d9-d8bc-43c2-9523-844693bbb686",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "231edb1f-6660-4c12-a472-daa5130cc5bb": {
                  "icon": null,
                  "name": "tldraw-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/callmechristian/tldraw-railway",
                    "rootDirectory": "templates/railway-server-example/"
                  },
                  "variables": {
                    "VITE_TLDRAW_LICENSE_KEY": {
                      "isOptional": false,
                      "description": "The tldraw license key. Must be provisioned from https://tldraw.dev/pricing",
                      "defaultValue": "{{VITE_TLDRAW_LICENSE_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "231edb1f-6660-4c12-a472-daa5130cc5bb": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tldraw-railway",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T00:22:20.613Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_be2844465e49442fbc9f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 151,
    "typical_build_seconds": 101,
    "typical_start_seconds": 10,
    "slowest_service": "tldraw-railway"
  }
}
