{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6b6c4f03-83ab-4867-b3e3-3feaa33cf316",
    "slug": "cloudflare-os-operator",
    "name": "Cloudflare OS Operator",
    "description": "Deploy and upgrade Cloudflare OS from a secure Railway operator console.",
    "url": "https://railway.com/deploy/cloudflare-os-operator",
    "upstream": {
      "repo_url": "https://github.com/IoVagabondo/cloudflare-os"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Cloudflare OS Operator",
      "source": {
        "repo": "https://github.com/IoVagabondo/cloudflare-os"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "OPERATOR_PASSWORD",
      "service": "Cloudflare OS Operator",
      "description": "Generated password for the Railway operator console. Username is admin.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLOUDFLARE_API_TOKEN",
      "service": "Cloudflare OS Operator",
      "description": "User API token scoped to the target Cloudflare account; leave no default.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLOUDFLARE_OS_PREFIX",
      "service": "Cloudflare OS Operator",
      "description": "Permanent lowercase prefix for all deployed Cloudflare OS Worker names.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLOUDFLARE_ACCOUNT_ID",
      "service": "Cloudflare OS Operator",
      "description": "32-character ID of the Cloudflare account that will host Cloudflare OS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLOUDFLARE_ACCESS_ISSUER",
      "service": "Cloudflare OS Operator",
      "description": "Cloudflare Access team issuer, for example https://team.cloudflareaccess.com.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLOUDFLARE_OS_PUBLIC_URL",
      "service": "Cloudflare OS Operator",
      "description": "Final HTTPS origin protected by the Cloudflare Access application.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLOUDFLARE_OS_ADMIN_EMAIL",
      "service": "Cloudflare OS Operator",
      "description": "Comma-separated Access-verified email addresses allowed to administer Cloudflare OS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLOUDFLARE_ACCESS_AUDIENCE",
      "service": "Cloudflare OS Operator",
      "description": "Audience tag from the exact Cloudflare Access self-hosted application.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLOUDFLARE_AI_GATEWAY_NAME",
      "service": "Cloudflare OS Operator",
      "description": "Optional in-account AI Gateway name.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "CLOUDFLARE_AI_GATEWAY_PROVIDERS",
      "service": "Cloudflare OS Operator",
      "description": "Comma-separated providers; cloudflare by default, with anthropic/openai supported when configured on the gateway.",
      "secret": false,
      "strategy": "default",
      "default": "cloudflare"
    },
    {
      "key": "CLOUDFLARE_OS_ORGANIZATION_NAME",
      "service": "Cloudflare OS Operator",
      "description": "Display name returned by the example organization Gatekeeper.",
      "secret": false,
      "strategy": "default",
      "default": "My Organization"
    },
    {
      "key": "CLOUDFLARE_OS_ORGANIZATION_GUIDANCE",
      "service": "Cloudflare OS Operator",
      "description": "Guidance returned by the example organization Gatekeeper.",
      "secret": false,
      "strategy": "default",
      "default": "Use your organization policies and context when assisting users."
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cloudflare-os-operator"
      }
    },
    "cli": "railway deploy --template cloudflare-os-operator",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6b6c4f03-83ab-4867-b3e3-3feaa33cf316",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ed3d5963-8e81-479c-ad16-36c63869ee8f": {
                  "icon": "https://devicons.railway.app/cloudflare",
                  "name": "Cloudflare OS Operator",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/IoVagabondo/cloudflare-os",
                    "rootDirectory": null
                  },
                  "variables": {
                    "OPERATOR_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the Railway operator console. Username is admin.",
                      "defaultValue": "{{OPERATOR_PASSWORD}}"
                    },
                    "CLOUDFLARE_API_TOKEN": {
                      "description": "User API token scoped to the target Cloudflare account; leave no default.",
                      "defaultValue": "{{CLOUDFLARE_API_TOKEN}}"
                    },
                    "CLOUDFLARE_OS_PREFIX": {
                      "description": "Permanent lowercase prefix for all deployed Cloudflare OS Worker names.",
                      "defaultValue": "cfos-${{randomInt(100000,999999)}}"
                    },
                    "CLOUDFLARE_ACCOUNT_ID": {
                      "description": "32-character ID of the Cloudflare account that will host Cloudflare OS.",
                      "defaultValue": "{{CLOUDFLARE_ACCOUNT_ID}}"
                    },
                    "CLOUDFLARE_ACCESS_ISSUER": {
                      "description": "Cloudflare Access team issuer, for example https://team.cloudflareaccess.com.",
                      "defaultValue": "{{CLOUDFLARE_ACCESS_ISSUER}}"
                    },
                    "CLOUDFLARE_OS_PUBLIC_URL": {
                      "description": "Final HTTPS origin protected by the Cloudflare Access application.",
                      "defaultValue": "{{CLOUDFLARE_OS_PUBLIC_URL}}"
                    },
                    "CLOUDFLARE_OS_ADMIN_EMAIL": {
                      "description": "Comma-separated Access-verified email addresses allowed to administer Cloudflare OS.",
                      "defaultValue": "{{CLOUDFLARE_OS_ADMIN_EMAIL}}"
                    },
                    "CLOUDFLARE_ACCESS_AUDIENCE": {
                      "description": "Audience tag from the exact Cloudflare Access self-hosted application.",
                      "defaultValue": "{{CLOUDFLARE_ACCESS_AUDIENCE}}"
                    },
                    "CLOUDFLARE_AI_GATEWAY_NAME": {
                      "description": "Optional in-account AI Gateway name.",
                      "defaultValue": "default"
                    },
                    "CLOUDFLARE_AI_GATEWAY_PROVIDERS": {
                      "description": "Comma-separated providers; cloudflare by default, with anthropic/openai supported when configured on the gateway.",
                      "defaultValue": "cloudflare"
                    },
                    "CLOUDFLARE_OS_ORGANIZATION_NAME": {
                      "description": "Display name returned by the example organization Gatekeeper.",
                      "defaultValue": "My Organization"
                    },
                    "CLOUDFLARE_OS_ORGANIZATION_GUIDANCE": {
                      "description": "Guidance returned by the example organization Gatekeeper.",
                      "defaultValue": "Use your organization policies and context when assisting users."
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Cloudflare OS Operator",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
