---
title: "Deploy PipesHub"
description: "AI context layer: permission-aware search and cited answers over your data"
category: "AI/ML"
url: https://railway.com/deploy/pipeshub-1
---

# Deploy PipesHub

AI context layer: permission-aware search and cited answers over your data

**[Deploy PipesHub on Railway](https://railway.com/template/pipeshub-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/pipeshub-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Redis https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/redis.png

- **Source:** https://github.com/aalfath/pipeshub-railway-template

### Qdrant https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/qdrant.png

- **Source:** https://github.com/aalfath/pipeshub-railway-template

### Neo4j https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/neo4j.png

- **Source:** https://github.com/aalfath/pipeshub-railway-template

### MongoDB https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/mongodb.png

- **Source:** https://github.com/aalfath/pipeshub-railway-template

### PipesHub https://raw.githubusercontent.com/pipeshub-ai/pipeshub-ai/v1.3.0/frontend/public/logo/pipes-hub.svg

- **Source:** https://github.com/aalfath/pipeshub-railway-template
- **Health check:** /api/v1/health
- **Public domain:** Yes

## Documentation

# Deploy and Host PipesHub on Railway

PipesHub is an open-source context layer for AI agents and enterprise search. It connects to sources such as Slack, Google Drive, Gmail, Jira, Confluence and uploaded files, indexes them with the users' own permissions, and answers questions with cited sources. It also offers no-code agents and an MCP server.

## About Hosting PipesHub

PipesHub runs as one all-in-one container (a Node.js API with the web UI and five Python services for query, connectors, indexing, document parsing and embeddings) next to MongoDB, Redis, Qdrant and Neo4j. This template deploys all five services from pinned images, each with its own volume, connected over Railway's private network with generated passwords. On the first start the wrapper creates your organization and administrator from inside the container before the public port opens, so nobody else can claim a fresh instance. The first boot downloads the BGE embedding model (about 1.3 GB) into the volume, so it takes a few minutes. After you sign in, add an AI model provider.

## Common Use Cases

* Ask questions across company documents, chats and tickets and get answers with cited sources
* Permission-aware enterprise search that respects each user's access in the connected tools
* Build no-code AI agents and expose company knowledge to other agents through MCP

## Dependencies for PipesHub Hosting

* MongoDB 7.0, Redis 7.4, Qdrant 1.20 and Neo4j 5.26 Community (all included in this template)
* An API key for an AI model provider (OpenAI, Anthropic, Gemini, Azure OpenAI, Ollama and others), added in the settings after deployment

### Deployment Dependencies

* PipesHub source and docs: https://github.com/pipeshub-ai/pipeshub-ai
* Release notes: https://github.com/pipeshub-ai/pipeshub-ai/releases/tag/v1.3.0
* Template source: https://github.com/aalfath/pipeshub-railway-template

### Implementation Details

You enter one value: `PIPESHUB_ADMIN_EMAIL`. Sign in with that email and the generated `PIPESHUB_ADMIN_PASSWORD`, which you can read in the PipesHub service's Variables tab. `SECRET_KEY` encrypts stored settings and connector credentials, so never change it after the first deploy.

Sizing: the PipesHub service uses about 5 GB of RAM once its services have started, and indexing large sources needs more. Upstream recommends 4 vCPU and 16 GB.

Not available on Railway: the code-execution sandbox for agents (`run_code`) needs a Docker socket, so it stays off. Search, chat, connectors and agents without code execution work.

Optional: upstream's anonymous usage telemetry is on by default; set `TELEMETRY_COLLECTION_FLAG=false` on the PipesHub service to turn it off. SMTP for invitation emails is set up in the admin settings.

## Why Deploy PipesHub 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 PipesHub 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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/pipeshub-1
