{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3794f683-27a6-4d2e-a207-5b9ffc4d8fc7",
    "slug": "grpc-reverse-proxy-1",
    "name": "GRPC Reverse Proxy",
    "description": "Caddy h2c proxy for private gRPC backends and REST-compatible clients",
    "url": "https://railway.com/deploy/grpc-reverse-proxy-1",
    "upstream": {
      "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "grpc-reverse-proxy",
      "source": {
        "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "grpc-reverse-proxy",
      "description": "Internal Caddy listener port used by the Railway domain and health check.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SERVICE_URL",
      "service": "grpc-reverse-proxy",
      "description": "Backend h2c address in host:port form. Railway HTTPS supports REST traffic; native gRPC requires end-to-end HTTP/2.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "grpc-reverse-proxy-1"
      }
    },
    "cli": "railway deploy --template grpc-reverse-proxy-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3794f683-27a6-4d2e-a207-5b9ffc4d8fc7",
            "serializedConfig": {
              "services": {
                "e8e78f7b-0d55-4d6d-bd39-5b3cbeb2d8db": {
                  "icon": "https://raw.githubusercontent.com/monotykamary/grpc-reverse-proxy/0d5a21930416b251307171e3edc0b66ad080cb7c/assets/grpc-icon-512.png",
                  "name": "grpc-reverse-proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/monotykamary/grpc-reverse-proxy:v2.11.4-r3@sha256:9b2f53b986dbb773043ca1fef5de79ca8cb73925e31a5ee80848397d9ede7a4f"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal Caddy listener port used by the Railway domain and health check.",
                      "defaultValue": "8080"
                    },
                    "SERVICE_URL": {
                      "isOptional": false,
                      "description": "Backend h2c address in host:port form. Railway HTTPS supports REST traffic; native gRPC requires end-to-end HTTP/2.",
                      "defaultValue": "{{SERVICE_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "grpc-reverse-proxy",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
