{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c82ba4c0-32d8-4c14-9abf-5cfaea3080b0",
    "slug": "hodor",
    "name": "hodor",
    "description": "A tiny reverse proxy to gate your app with single shared password.",
    "url": "https://railway.com/deploy/hodor",
    "upstream": {
      "image": "ghcr.io/michidk/hodor:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "hodor",
      "source": {
        "image": "ghcr.io/michidk/hodor:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SECRET",
      "service": "hodor",
      "description": "unshared secret used to sign cookies",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PASSWORD",
      "service": "hodor",
      "description": "single shared password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "UPSTREAM",
      "service": "hodor",
      "description": "the derived upstream path",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "UPSTREAM_PORT",
      "service": "hodor",
      "description": "the port the upstream service is listening on ex: `${{example.PORT}}` / `8080`",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "UPSTREAM_DOMAIN",
      "service": "hodor",
      "description": "ex: `${{example.RAILWAY_PRIVATE_DOMAIN}}` / `example.railway.internal`",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hodor"
      }
    },
    "cli": "railway deploy --template hodor",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c82ba4c0-32d8-4c14-9abf-5cfaea3080b0",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7dc61c9e-cf9c-4fe5-88d2-1990edc6d0fa": {
                  "icon": "https://raw.githubusercontent.com/michidk/hodor/refs/heads/main/.github/images/hero.webp",
                  "name": "hodor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/michidk/hodor:latest"
                  },
                  "variables": {
                    "SECRET": {
                      "isOptional": false,
                      "description": "unshared secret used to sign cookies",
                      "defaultValue": "{{SECRET}}"
                    },
                    "PASSWORD": {
                      "isOptional": false,
                      "description": "single shared password",
                      "defaultValue": "{{PASSWORD}}"
                    },
                    "UPSTREAM": {
                      "isOptional": false,
                      "description": "the derived upstream path",
                      "defaultValue": "http://${{hodor.UPSTREAM_DOMAIN}}:${{hodor.UPSTREAM_PORT}}"
                    },
                    "UPSTREAM_PORT": {
                      "description": "the port the upstream service is listening on ex: `${{example.PORT}}` / `8080`",
                      "defaultValue": "{{UPSTREAM_PORT}}"
                    },
                    "UPSTREAM_DOMAIN": {
                      "description": "ex: `${{example.RAILWAY_PRIVATE_DOMAIN}}` / `example.railway.internal`",
                      "defaultValue": "{{UPSTREAM_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0"
}
