{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1e661d7a-0769-48e6-826d-1ef116045233",
    "slug": "open-webui-ai-platform",
    "name": "Open WebUI",
    "description": "Your self-hosted interface for local and cloud AI models.",
    "url": "https://railway.com/deploy/open-webui-ai-platform",
    "upstream": {
      "image": "openwebui/open-webui:latest"
    }
  },
  "services": [
    {
      "name": "open-webui",
      "source": {
        "image": "openwebui/open-webui:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "open-webui",
      "description": "Railway public service port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "WEBUI_URL",
      "service": "open-webui",
      "description": "Public URL of the Open WebUI instance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WEBUI_AUTH",
      "service": "open-webui",
      "description": "Enable user authentication",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DO_NOT_TRACK",
      "service": "open-webui",
      "description": "Disable optional tracking",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "open-webui",
      "description": "Ensure write access to the Railway-mounted data volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WEBUI_SECRET_KEY",
      "service": "open-webui",
      "description": "Persistent secret used for sessions and authentication",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SCARF_NO_ANALYTICS",
      "service": "open-webui",
      "description": "Disable Scarf analytics",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ANONYMIZED_TELEMETRY",
      "service": "open-webui",
      "description": "Disable anonymized telemetry",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-webui-ai-platform"
      }
    },
    "cli": "railway deploy --template open-webui-ai-platform",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1e661d7a-0769-48e6-826d-1ef116045233",
            "serializedConfig": {
              "services": {
                "54cc8a77-75ba-427c-9924-4d61c3cf6fad": {
                  "icon": "https://docs.openwebui.com/sponsors/sponsor.png",
                  "name": "open-webui",
                  "source": {
                    "image": "openwebui/open-webui:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway public service port",
                      "defaultValue": "8080"
                    },
                    "WEBUI_URL": {
                      "description": "Public URL of the Open WebUI instance",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WEBUI_AUTH": {
                      "description": "Enable user authentication",
                      "defaultValue": "true"
                    },
                    "DO_NOT_TRACK": {
                      "description": "Disable optional tracking",
                      "defaultValue": "true"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Ensure write access to the Railway-mounted data volume",
                      "defaultValue": "0"
                    },
                    "WEBUI_SECRET_KEY": {
                      "description": "Persistent secret used for sessions and authentication",
                      "defaultValue": "{{WEBUI_SECRET_KEY}}"
                    },
                    "SCARF_NO_ANALYTICS": {
                      "description": "Disable Scarf analytics",
                      "defaultValue": "true"
                    },
                    "ANONYMIZED_TELEMETRY": {
                      "description": "Disable anonymized telemetry",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "54cc8a77-75ba-427c-9924-4d61c3cf6fad": {
                      "mountPath": "/app/backend/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T14:55:37.314Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_999cd872475e45e9aa9e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 71,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "open-webui"
  }
}
