{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9b217829-9c0a-4dd7-89f0-65383c693b37",
    "slug": "cloudflared-template",
    "name": "cloudflared-template",
    "description": "Cloudflare Tunnel connector - no inbound ports, green without a token",
    "url": "https://railway.com/deploy/cloudflared-template",
    "upstream": {
      "repo_url": "https://github.com/lNamelessl/cloudflared-railway-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "cloudflared",
      "source": {
        "repo": "https://github.com/lNamelessl/cloudflared-railway-template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "cloudflared",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cloudflared-template"
      }
    },
    "cli": "railway deploy --template cloudflared-template",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9b217829-9c0a-4dd7-89f0-65383c693b37",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ffce08f0-dae0-44fe-b51b-723b002c64ec": {
                  "icon": null,
                  "name": "cloudflared",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/lNamelessl/cloudflared-railway-template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "{{PORT}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-18T22:14:40.474Z",
  "generator_version": "0.1.0"
}
