Deploy Onyx
Onyx - Open Source AI Platform - AI Chat with advanced features
Data Stores
postgres
Just deployed
/var/lib/postgresql/data
opensearch
Just deployed
/usr/share/opensearch/data
object-store
Just deployed
/data
Just deployed
Onyx
api-server
Just deployed
web-server
Just deployed
background
Just deployed
mcp-server
Just deployed
Model Servers
inference-model-server
Just deployed
/app/.cache/huggingface
indexing-model-server
Just deployed
/app/.cache/huggingface
Public Edge
nginx
Just deployed
Deploy and Host onyx on Railway
Onyx is an open-source AI platform that connects to your team's documents, tickets, and messages so it can chat, search, and act with full context of your organization. It combines RAG-based chat with 40+ data connectors (Slack, Confluence, GitHub, Google Drive, and more), custom AI agents, and enterprise auth, deployable as a self-hosted alternative to closed AI assistants.
About Hosting onyx
Onyx is a multi-service application: a FastAPI backend, a Next.js frontend, a Celery-based background worker, and two dedicated ML model servers for embeddings and reranking, backed by Postgres, Redis, OpenSearch, and SeaweedFS object storage, plus an MCP server for external AI clients. This template wires all eleven services together on Railway's private network with a single public entry point behind nginx, so the whole stack comes up healthy with one deploy, with no manual service linking, connection strings, or Docker Compose required.
Common Use Cases
- Internal AI search and chat across company docs, wikis, tickets, and chat history
- Self-hosted ChatGPT-style assistant with your own LLM provider and data connectors
- Custom AI agents for support, engineering, or research teams that need RAG over private data
Dependencies for onyx Hosting
- An API key from an LLM provider (OpenAI, Anthropic, Azure, or any LiteLLM-supported provider), added after first login
- Optional: an MCP client (Claude Desktop, Cursor, and others) can connect to
https://your-onyx-domain/mcp/with an Onyx API key or OAuth
Deployment Dependencies
Why Deploy onyx 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 onyx 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
api-server
onyxdotapp/onyx-backend:v5.1.3inference-model-server
onyxdotapp/onyx-model-server:v5.1.3web-server
onyxdotapp/onyx-web-server:v5.1.3background
onyxdotapp/onyx-backend:v5.1.3postgres
pgvector/pgvector:pg15nginx
nginx:1.25.5-alpinemcp-server
onyxdotapp/onyx-backend:v5.1.3indexing-model-server
onyxdotapp/onyx-model-server:v5.1.3opensearch
opensearchproject/opensearch:3.6.0object-store
chrislusf/seaweedfs:4.47
