{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3bcb80b6-7b42-43cd-bf49-4868e61d24d9",
    "slug": "open-webui-private-ai-chat-rag",
    "name": "Open WebUI (Private AI Chat + RAG)",
    "description": "Private ChatGPT alternative: multi-user auth, RAG, bring your own API keys.",
    "url": "https://railway.com/deploy/open-webui-private-ai-chat-rag",
    "upstream": {
      "image": "ghcr.io/open-webui/open-webui:v0.10.2"
    }
  },
  "services": [
    {
      "name": "open-webui",
      "source": {
        "image": "ghcr.io/open-webui/open-webui:v0.10.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "open-webui",
      "description": "Bind address. Keep 0.0.0.0 so the Railway edge can reach the app.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "DO_NOT_TRACK",
      "service": "open-webui",
      "description": "Disable tracking.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_SIGNUP",
      "service": "open-webui",
      "description": "Allow signups; new users require admin approval (see DEFAULT_USER_ROLE).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "JWT_EXPIRES_IN",
      "service": "open-webui",
      "description": "Session token lifetime.",
      "secret": false,
      "strategy": "default",
      "default": "1w"
    },
    {
      "key": "WEBUI_SECRET_KEY",
      "service": "open-webui",
      "description": "Auto-generated secret for signing auth tokens.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DEFAULT_USER_ROLE",
      "service": "open-webui",
      "description": "New signups wait for admin approval - your instance is never open to strangers.",
      "secret": false,
      "strategy": "default",
      "default": "pending"
    },
    {
      "key": "SCARF_NO_ANALYTICS",
      "service": "open-webui",
      "description": "Disable analytics.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OPENAI_API_BASE_URL",
      "service": "open-webui",
      "description": "Base URL for the OpenAI-compatible provider (change for OpenRouter/Groq/etc).",
      "secret": false,
      "strategy": "default",
      "default": "https://api.openai.com/v1"
    },
    {
      "key": "ANONYMIZED_TELEMETRY",
      "service": "open-webui",
      "description": "Disable Chroma telemetry.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_COMMUNITY_SHARING",
      "service": "open-webui",
      "description": "Disable community sharing.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_VERSION_UPDATE_CHECK",
      "service": "open-webui",
      "description": "Disable update checks.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-webui-private-ai-chat-rag"
      }
    },
    "cli": "railway deploy --template open-webui-private-ai-chat-rag",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3bcb80b6-7b42-43cd-bf49-4868e61d24d9",
            "serializedConfig": {
              "services": {
                "549e9f0e-6c08-4002-9e30-702bf549808c": {
                  "icon": "https://devicons.railway.com/i/open-webui.svg",
                  "name": "open-webui",
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "image": "ghcr.io/open-webui/open-webui:v0.10.2"
                  },
                  "variables": {
                    "HOST": {
                      "description": "Bind address. Keep 0.0.0.0 so the Railway edge can reach the app.",
                      "defaultValue": "0.0.0.0"
                    },
                    "DO_NOT_TRACK": {
                      "description": "Disable tracking.",
                      "defaultValue": "true"
                    },
                    "ENABLE_SIGNUP": {
                      "description": "Allow signups; new users require admin approval (see DEFAULT_USER_ROLE).",
                      "defaultValue": "true"
                    },
                    "JWT_EXPIRES_IN": {
                      "description": "Session token lifetime.",
                      "defaultValue": "1w"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional: OpenAI-compatible API key (OpenAI, OpenRouter, Groq, etc). You can also add providers in Admin Settings after deploy.",
                      "defaultValue": ""
                    },
                    "WEBUI_SECRET_KEY": {
                      "description": "Auto-generated secret for signing auth tokens.",
                      "defaultValue": "{{WEBUI_SECRET_KEY}}"
                    },
                    "DEFAULT_USER_ROLE": {
                      "description": "New signups wait for admin approval - your instance is never open to strangers.",
                      "defaultValue": "pending"
                    },
                    "SCARF_NO_ANALYTICS": {
                      "description": "Disable analytics.",
                      "defaultValue": "true"
                    },
                    "OPENAI_API_BASE_URL": {
                      "description": "Base URL for the OpenAI-compatible provider (change for OpenRouter/Groq/etc).",
                      "defaultValue": "https://api.openai.com/v1"
                    },
                    "ANONYMIZED_TELEMETRY": {
                      "description": "Disable Chroma telemetry.",
                      "defaultValue": "false"
                    },
                    "ENABLE_COMMUNITY_SHARING": {
                      "description": "Disable community sharing.",
                      "defaultValue": "false"
                    },
                    "ENABLE_VERSION_UPDATE_CHECK": {
                      "description": "Disable update checks.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "549e9f0e-6c08-4002-9e30-702bf549808c": {
                      "mountPath": "/app/backend/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T00:12:32.798Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_249c998750b14686b714",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 156,
    "typical_build_seconds": 0,
    "typical_start_seconds": 63,
    "slowest_service": "open-webui"
  }
}
