{
  "manifest_version": "1.0.0",
  "template": {
    "id": "03e059f1-4eee-4149-92cb-579307c6aee9",
    "slug": "caddy-proxy",
    "name": "Caddy-Proxy",
    "description": "Production-Ready Reverse Proxy for Private Networking & Web Socket",
    "url": "https://railway.com/deploy/caddy-proxy",
    "upstream": {
      "repo_url": "https://github.com/OpenSource-Templates/Caddy-Proxy"
    }
  },
  "services": [
    {
      "name": "Caddy-Proxy",
      "source": {
        "repo": "https://github.com/OpenSource-Templates/Caddy-Proxy"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Caddy-Proxy",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Caddy-Proxy",
      "description": "Provide a value for LOG_LEVEL.",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "PROXY_TARGET",
      "service": "Caddy-Proxy",
      "description": "Direct reference PROXY_TARGET=http://backend.railway.internal:8080   Using Railway variables PROXY_TARGET=http://${{backend.RAILWAY_PRIVATE_DOMAIN}}:${{backend.PORT}}",
      "secret": false,
      "strategy": "default",
      "default": "http://backend.railway.internal:8080"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "caddy-proxy"
      }
    },
    "cli": "railway deploy --template caddy-proxy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "03e059f1-4eee-4149-92cb-579307c6aee9",
            "serializedConfig": {
              "services": {
                "e18fce69-5fb6-42b8-a8fc-2527796ffa7a": {
                  "icon": "https://caddyserver.com/old/resources/images/caddy-lock.png",
                  "name": "Caddy-Proxy",
                  "source": {
                    "repo": "OpenSource-Templates/Caddy-Proxy",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "INFO"
                    },
                    "PROXY_TARGET": {
                      "isOptional": false,
                      "description": "Direct reference PROXY_TARGET=http://backend.railway.internal:8080   Using Railway variables PROXY_TARGET=http://${{backend.RAILWAY_PRIVATE_DOMAIN}}:${{backend.PORT}}",
                      "defaultValue": "http://backend.railway.internal:8080"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-13T10:14:32.962Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-11T21:44:14.828Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cb3f99e8d33740318394",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 20,
    "typical_start_seconds": 0,
    "slowest_service": "Caddy-Proxy"
  }
}
