{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a130d61c-a088-47b1-bc91-8431458f83ef",
    "slug": "decap-proxy",
    "name": "decap-proxy",
    "description": "A proxy for GitHub login in Decap CMS",
    "url": "https://railway.com/deploy/decap-proxy",
    "upstream": {
      "repo_url": "https://github.com/hlysine/decap-proxy"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "decap-proxy",
      "source": {
        "repo": "https://github.com/hlysine/decap-proxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "decap-proxy",
      "description": "Internal port for the proxy to listen on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "GITHUB_OAUTH_ID",
      "service": "decap-proxy",
      "description": "Create an OAuth app in GitHub and copy the app ID here",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GITHUB_OAUTH_SECRET",
      "service": "decap-proxy",
      "description": "Create an OAuth app in GitHub and copy the app secret here",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "decap-proxy"
      }
    },
    "cli": "railway deploy --template decap-proxy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a130d61c-a088-47b1-bc91-8431458f83ef",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "01856373-1599-4220-ac82-138adcc23121": {
                  "icon": "https://decapcms.org/img/decap-logo-black.svg",
                  "name": "decap-proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/hlysine/decap-proxy",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Internal port for the proxy to listen on",
                      "defaultValue": "3000"
                    },
                    "GITHUB_OAUTH_ID": {
                      "isOptional": false,
                      "description": "Create an OAuth app in GitHub and copy the app ID here",
                      "defaultValue": "{{GITHUB_OAUTH_ID}}"
                    },
                    "GITHUB_OAUTH_SECRET": {
                      "isOptional": false,
                      "description": "Create an OAuth app in GitHub and copy the app secret here",
                      "defaultValue": "{{GITHUB_OAUTH_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "decap-proxy",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
