This commit is contained in:
archer
2023-08-18 10:07:24 +08:00
parent c5b5c440ca
commit b8d339fe66
6 changed files with 21 additions and 17 deletions

View File

@@ -7,8 +7,10 @@
优化了 PG 和 Mongo 的连接变量,只需要 1 个 url 即可。
```
MONGODB_URI=mongodb://username:password@0.0.0.0:27017/fastgpt
PG_URL=postgresql://username:password@0.0.0.0:5432/postgres
# mongo 配置,不需要改. 如果连不上,可能需要去掉 ?authSource=admin
- MONGODB_URI=mongodb://username:password@mongo:27017/fastgpt?authSource=admin
# pg配置. 不需要改
- PG_URL=postgresql://username:password@pg:5432/postgres
```
## 执行初始化 API