-
用railway部署好之后,问下还需要设置什么么?谢谢 deploy log 如下 time="2023-04-21T04:33:28Z" level=info msg="{OPENAI:{API_KEY: xxxxx RATELIMIT:0} CLAUDE:{API_KEY:sk-ant-xxx-xxxx-A} PG:{HOST: PORT:0 USER: PASS: DB:}}"
/app
panic: dial tcp: lookup port=0: no such host
goroutine 1 [running]:
main.main()
/app/main.go:136 +0x11e5 |
Beta Was this translation helpful? Give feedback.
Answered by
swuecho
Apr 21, 2023
Replies: 2 comments
-
看起来你缺少了 DATABASE_URL 这个需要DB 后端的, 因为所有的用户, 配置, 消息等信息都会存到数据库, 这样不同终端可以同步. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
swuecho
-
可以参考 #112 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看起来你缺少了 DATABASE_URL
这个需要DB 后端的, 因为所有的用户, 配置, 消息等信息都会存到数据库, 这样不同终端可以同步.