nekomeowww / insights-bot

A bot works with OpenAI GPT models to provide insights for your info flows.
MIT License
254 stars 25 forks source link

fix(docker-compose): specify username and database in postgres healthcheck #158

Closed PA733 closed 1 year ago

PA733 commented 1 year ago

This commit fixes the error of role "root" does not exist when running healthcheck for postgres service in docker-compose. 需要在pg的healthcheck中指定用户,不然docker-compose会不停报2023-07-13 17:19:16.813 UTC [34] FATAL: role "root" does not exist的错误

nekomeowww commented 1 year ago

棒棒!

PA733 commented 1 year ago

有改进方案,稍后我重新push

nekomeowww commented 1 year ago

好,那再等等

PA733 commented 1 year ago

已修改。 在新的commit中,pg将检查环境变量中指定的用户和数据库的工作状况。

nekomeowww commented 1 year ago

优雅,感谢优化

nekomeowww commented 1 year ago

已发布到 v0.17.3