Deploy Open WebUI
Self-hosted AI chat interface for Ollama and OpenAI-compatible models.
Open WebUI
Just deployed
/app/backend/data
Deploy and Host Open WebUI on Railway
Open WebUI is a self-hosted, extensible AI chat platform for local and hosted language models. It connects to Ollama and OpenAI-compatible APIs, supports retrieval-augmented generation, model management, user accounts, and a responsive interface, while keeping application data under your control on persistent storage for teams and individuals.
About Hosting Open WebUI
Hosting Open WebUI provides a private, browser-based workspace for interacting with local or remote language models without relying on a vendor-specific chat interface. This Railway template runs the official container image, exposes the application on its native port, and stores the backend database, uploads, and configuration on a persistent volume. You can connect an Ollama server, OpenAI, or another OpenAI-compatible provider through environment variables or the administration interface. Account signup is enabled for initial onboarding, while a strong secret protects signed sessions. Administrators can then manage users, models, knowledge bases, tools, and provider connections from one responsive web application.
Common Use Cases
- Provide a shared chat interface for Ollama models running on another server.
- Connect teams to OpenAI and other OpenAI-compatible model providers.
- Build private AI workflows with documents, knowledge bases, tools, and RAG.
Dependencies for Open WebUI Hosting
Deployment Dependencies
Implementation Details
The service uses the digest-pinned Open WebUI v0.10.2 image, listens on port 8080, and mounts Railway persistent storage at /app/backend/data. Model providers are external and optional; configure Ollama or OpenAI-compatible endpoints after creating the template deployment.
Why Deploy Open WebUI on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Open WebUI on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Open WebUI
ghcr.io/open-webui/open-webui:v0.10.2PORT
ENABLE_SIGNUP
WEBUI_SECRET_KEY
