{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d519f0f0-4936-48e3-a36a-aa1b4bdf1de2",
    "slug": "wlxtbV",
    "name": "caddy-on-railway-grpc",
    "description": "Deploy a GRPC reverse proxy with Caddy.",
    "url": "https://railway.com/deploy/wlxtbV",
    "upstream": {
      "repo_url": "https://github.com/willyfromtheblock/caddy-on-railway-grpc"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "caddy-on-railway-grpc",
      "source": {
        "repo": "https://github.com/willyfromtheblock/caddy-on-railway-grpc"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "caddy-on-railway-grpc",
      "description": "the caddy port",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "SERVICE_URL",
      "service": "caddy-on-railway-grpc",
      "description": "e. g. yourgrpcservice.railway.internal:1234",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wlxtbV"
      }
    },
    "cli": "railway deploy --template wlxtbV",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d519f0f0-4936-48e3-a36a-aa1b4bdf1de2",
            "serializedConfig": {
              "services": {
                "d748219b-3484-4ebd-b5a1-b64c8ae24a48": {
                  "name": "caddy-on-railway-grpc",
                  "source": {
                    "repo": "willyfromtheblock/caddy-on-railway-grpc",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "the caddy port",
                      "defaultValue": "80"
                    },
                    "SERVICE_URL": {
                      "isOptional": false,
                      "description": "e. g. yourgrpcservice.railway.internal:1234",
                      "defaultValue": "{{SERVICE_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
