惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
博客园_首页
M
MIT News - Artificial intelligence
雷峰网
雷峰网
GbyAI
GbyAI
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
S
SegmentFault 最新的问题
H
Help Net Security
Apple Machine Learning Research
Apple Machine Learning Research
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 【当耐特】
V
Visual Studio Blog
月光博客
月光博客
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
云风的 BLOG
云风的 BLOG
美团技术团队
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
有赞技术团队
有赞技术团队

Tianhe Gao

第一次去佛山,看王菀之演唱会 给林夕 荐《奥德赛》电影――十年苦难让奥德修斯更具人性 永远的新裤子——新裤子30周年演唱会 听艾怡良深圳演唱会 一把开不了门的钥匙 荐《欢迎来龙餐馆》 确定性的忧伤 荐《给阿嬷的情书》 夏雨 我思 园区的猫 去深圳国际美术馆——艺术源于生活,是对生活的总结和升华 Evening Run 傍晚跑步 How to deploy Hermes Agent on Ubuntu 五一回忆——永远记得抬头看天上的星星 May Day memories--Always remember to look up at the stars Watch spoken drama 'Rhinoceros in Love' 看话剧《恋爱的犀牛》 What am I really leaving behind when I put pen to paper? 当我写日记时,我在记录什么 My relationship with computers 我与计算机之缘 The taste of sea 海的味道 How to self-host Forgejo with docker on Ubuntu 24.04 Hong Kong Marathon in 2026 参加26年香港马拉松 Run 7 kilometers, Jupiter at opposition
How to Deploy LobeHub on Railway
Tianhe Gao · 2026-05-01 · via Tianhe Gao

I finally figured out how to deploy LobeHub on Railway. LobeHub is an open-source AI agent platform that helps me build my own knowledgebase. Railway is my main SaaS platform for deploying Docker apps.

I did find some templates on the Railway Marketplace. However, I didn't find the right one for me, so I chose to create one myself. I used LobeHub(v2.1.56) to build it.

Choosing the database was a bit troublesome. I couldn't use the Railway official PostgreSQL template, because it doesn't support the pg_search extension. After some research, I chose ParadeDB for my PostgreSQL database, since it supports. I use the Docker image lobehub/lobehub for faster build times. The variables are listed below:

APP_URL="https://${{RAILWAY_PUBLIC_DOMAIN}}"
DATABASE_URL="postgres://${{ParadeDB.PGUSER}}:${{ParadeDB.PGPASSWORD}}@${{ParadeDB.PGHOST}}:${{ParadeDB.PGPORT}}/${{ParadeDB.PGDATABASE}}"
QSTASH_TOKEN=""
## deployed a SearXNG instance on Railway
SEARCH_PROVIDERS="searxng"
SEARXNG_URL=""
## the following can be obtained from https://lobehub.com/docs/self-hosting/platform/docker#deploying-on-a-linux-server
KEY_VAULTS_SECRET=""
AUTH_SECRET=""
JWKS_KEY=""
## chose Cloudflare R2
S3_ACCESS_KEY_ID=""
S3_SECRET_ACCESS_KEY=""
S3_ENDPOINT=""
S3_BUCKET=""

Then set the port in the networking settings to 8080 .

After the above setup, you will have a LobeHub instance up and running!

However, I can't run commands on my self-hosted instance because the market authorization failed:

Market authorization expired. An authorization dialog has been shown to the user. Please wait for the user to complete authorization and then retry the current task.

I'm thinking about how to remove that part so that I can run cmds freely. I'm working on it.