【问题标题】:How to connect to postgres database in botpress?如何在 botpress 中连接到 postgres 数据库?
【发布时间】:2022-01-03 13:40:56
【问题描述】:

我在将botpress localhost 服务器连接到postgres 数据库时遇到问题。 我在 bp.exe 所在的目录中设置了一个.env 文件。 我推荐了许多网站,但无法连接到 postgres
下面是 .env 文件

DATABASE=postgres
DATABASE_URL=postgres://user:password@localhost:5432/botpress

【问题讨论】:

    标签: postgresql chatbot botpress


    【解决方案1】:

    我有同样的问题(我从源代码构建)。

    当我将.env 放入路径packages/bp/dist 时,它可以工作。

    【讨论】:

      猜你喜欢
      • 2014-01-05
      • 1970-01-01
      • 1970-01-01
      • 2020-10-26
      • 1970-01-01
      • 1970-01-01
      • 2019-11-11
      • 2016-01-27
      • 2012-08-21
      相关资源
      最近更新 更多