Deploy Ragflow with infinity — Working ✅
Railway

Deploy Ragflow with infinity — Working ✅

RAGFlow stack with Infinity and MinIO, tested 100% work

Deploy Ragflow with infinity — Working ✅

Just deployed

/data

Just deployed

/var/lib/mysql

Just deployed

/data

Just deployed

/ragflow/logs

Just deployed

/var/infinity

Deploy and Host Ragflow with infinity --- Working ✅ on Railway

RAGFlow with Infinity is a production-ready Retrieval-Augmented Generation (RAG) stack combining document ingestion, vector search, and AI-powered chat. It integrates Infinity as a vector database, MinIO for object storage, and MySQL/Redis for persistence and caching.

About Hosting Ragflow with infinity --- Working ✅

This template deploys a complete multi-service RAG architecture on Railway. RAGFlow handles ingestion, chunking, embedding, and querying. Infinity stores vectors for semantic search, MinIO stores files, MySQL handles metadata, and Redis manages caching and queues.

All services are preconfigured to work together using internal Railway networking. The setup is optimized for CPU deployments and includes automatic MinIO bucket creation, secure credentials, and ready-to-use environment variables. Once deployed, you can upload documents and instantly query them via chat.

Service Versions

  • ragflow: infiniflow/ragflow:v0.23.1
  • infinity: infiniflow/infinity:v0.6.15
  • redis: redis:8.2.1
  • mysql: mysql:9.4
  • minio: minio/minio:latest

Common Use Cases

  • Internal AI knowledge base over documents
  • Chatbot with semantic document search
  • Enterprise search across PDFs, text, and data

Dependencies for Ragflow with infinity --- Working ✅ Hosting

  • Python (included in container)
  • Infinity vector database
  • Object storage (MinIO)
  • SQL database (MySQL)
  • Cache/queue system (Redis)

Deployment Dependencies

Implementation Details

Environment variables (essential):

# Core
REGISTER_ENABLED=1 # Set to 1 to enable registration, 0 to disable
TZ="UTC" # Timezone
DEVICE="cpu" # Compute device
DOC_ENGINE="infinity" # Vector engine

# Infinity
INFINITY_HOST="${{infinity.RAILWAY_PRIVATE_DOMAIN}}" # Internal host
INFINITY_PORT="${{infinity.INFINITY_PORT}}" # API port

# MinIO
MINIO_HOST="${{minio.RAILWAY_PRIVATE_DOMAIN}}" # Storage host
MINIO_PORT="9000" # Storage port
MINIO_USER="${{minio.MINIO_ROOT_USER}}" # Access key
MINIO_PASSWORD="${{minio.MINIO_ROOT_PASSWORD}}" # Secret key
MINIO_BUCKET="ragflow" # Bucket name
MINIO_SECURE="false" # Disable HTTPS internally

# MySQL
MYSQL_HOST="${{MySQL.MYSQLHOST}}" # DB host
MYSQL_PORT="${{MySQL.MYSQLPORT}}" # DB port
MYSQL_USER="${{MySQL.MYSQLUSER}}" # DB user
MYSQL_PASSWORD="${{MySQL.MYSQL_ROOT_PASSWORD}}" # DB password
MYSQL_DBNAME="${{MySQL.MYSQLDATABASE}}" # DB name

# Redis
REDIS_HOST="${{Redis.RAILWAY_PRIVATE_DOMAIN}}" # Cache host
REDIS_PORT="${{Redis.REDISPORT}}" # Cache port
REDIS_USERNAME="${{Redis.REDISUSER}}" # Cache user
REDIS_PASSWORD="${{Redis.REDISPASSWORD}}" # Cache password

# App
SECRET_KEY="${{ secret(32) }}" # App secret
API_PROXY_SCHEME="python" # API mode

Why Deploy Ragflow with infinity --- Working ✅ 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 Ragflow with infinity --- Working ✅ 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

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
View Template
EchoDeck
Generate a mp4 from powerpoint with TTS

Fixed Scope
View Template
openui
Deploy OpenUI: AI-powered UI generation with GitHub OAuth and OpenAI API.

zexd