{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f17bf53d-35ad-41cd-9667-c5093b5136fe",
    "slug": "7uDSyj",
    "name": "Reverse Proxy",
    "description": "Unite your frontend & backend into one domain",
    "url": "https://railway.com/deploy/7uDSyj",
    "upstream": {
      "repo_url": "https://github.com/railwayapp-templates/caddy-reverse-proxy"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Caddy Proxy",
      "source": {
        "repo": "https://github.com/railwayapp-templates/caddy-reverse-proxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "BACKEND_PORT",
      "service": "Caddy Proxy",
      "description": "The backend's internal port</br>Use variable references, eg. ${{Backend.PORT}}",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FRONTEND_PORT",
      "service": "Caddy Proxy",
      "description": "The frontend's internal port</br>Use variable references, eg. ${{Frontend.PORT}}",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BACKEND_DOMAIN",
      "service": "Caddy Proxy",
      "description": "The backend's private domain</br>Use variable references, eg. ${{Backend.RAILWAY_PRIVATE_DOMAIN}}",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FRONTEND_DOMAIN",
      "service": "Caddy Proxy",
      "description": "The frontend's private domain</br>Use variable references, eg. ${{Frontend.RAILWAY_PRIVATE_DOMAIN}}",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "7uDSyj"
      }
    },
    "cli": "railway deploy --template 7uDSyj",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f17bf53d-35ad-41cd-9667-c5093b5136fe",
            "serializedConfig": {
              "services": {
                "1f565356-f3ca-4f75-8208-dce8f960c22e": {
                  "icon": "https://raw.githubusercontent.com/caddyserver/website/07c51663ab3cf37c8831eefeb64383a10af3a4a5/src/resources/images/favicon.png",
                  "name": "Caddy Proxy",
                  "build": {},
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "repo": "https://github.com/railwayapp-templates/caddy-reverse-proxy"
                  },
                  "variables": {
                    "BACKEND_PORT": {
                      "isOptional": false,
                      "description": "The backend's internal port</br>Use variable references, eg. ${{Backend.PORT}}",
                      "defaultValue": "{{BACKEND_PORT}}"
                    },
                    "FRONTEND_PORT": {
                      "isOptional": false,
                      "description": "The frontend's internal port</br>Use variable references, eg. ${{Frontend.PORT}}",
                      "defaultValue": "{{FRONTEND_PORT}}"
                    },
                    "BACKEND_DOMAIN": {
                      "isOptional": false,
                      "description": "The backend's private domain</br>Use variable references, eg. ${{Backend.RAILWAY_PRIVATE_DOMAIN}}",
                      "defaultValue": "{{BACKEND_DOMAIN}}"
                    },
                    "FRONTEND_DOMAIN": {
                      "isOptional": false,
                      "description": "The frontend's private domain</br>Use variable references, eg. ${{Frontend.RAILWAY_PRIVATE_DOMAIN}}",
                      "defaultValue": "{{FRONTEND_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-05T17:54:19.086Z",
  "generator_version": "0.1.0"
}
