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

推荐订阅源

Forbes - Security
Forbes - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LangChain Blog
量子位
GbyAI
GbyAI
B
Blog RSS Feed
月光博客
月光博客
人人都是产品经理
人人都是产品经理
腾讯CDC
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
The Cloudflare Blog
D
Docker
Cyberwarzone
Cyberwarzone
U
Unit 42
NISL@THU
NISL@THU
C
Check Point Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog
Recorded Future
Recorded Future
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
G
GRAHAM CLULEY
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
P
Proofpoint News Feed
F
Fortinet All Blogs
V
V2EX
T
Threat Research - Cisco Blogs
T
Threatpost
S
SegmentFault 最新的问题
Know Your Adversary
Know Your Adversary
雷峰网
雷峰网
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园 - 司徒正美
P
Privacy & Cybersecurity Law Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
TaoSecurity Blog
TaoSecurity Blog
Latest news
Latest news
Apple Machine Learning Research
Apple Machine Learning Research
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Y
Y Combinator Blog
P
Privacy International News Feed
L
Lohrmann on Cybersecurity
AWS News Blog
AWS News Blog
G
Google Developers Blog
美团技术团队

Tianhe Gao

荐《给阿嬷的情书》 夏雨 我思 园区的猫 去深圳国际美术馆——艺术源于生活,是对生活的总结和升华 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 跑步七公里,木星冲日 2025 年终总结 | Tianhe Gao Teeth Cleaning | Tianhe Gao 洗牙 | Tianhe Gao Romeo and Juliet (musical) | Tianhe Gao
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.