Showing
2 changed files
with
4 additions
and
0 deletions
| @@ -308,6 +308,8 @@ cp .env.example .env | @@ -308,6 +308,8 @@ cp .env.example .env | ||
| 308 | vim .env | 308 | vim .env |
| 309 | ``` | 309 | ``` |
| 310 | 310 | ||
| 311 | +> **Note:** The application reads database settings from `.env`. Keep `DB_DIALECT=postgresql` when using the bundled PostgreSQL service; change it only if you switch to another database engine. | ||
| 312 | + | ||
| 311 | **Important environment variable configuration**: | 313 | **Important environment variable configuration**: |
| 312 | ```bash | 314 | ```bash |
| 313 | # LLM API configuration (required) | 315 | # LLM API configuration (required) |
| @@ -322,6 +322,8 @@ cp .env.example .env | @@ -322,6 +322,8 @@ cp .env.example .env | ||
| 322 | vim .env | 322 | vim .env |
| 323 | ``` | 323 | ``` |
| 324 | 324 | ||
| 325 | +> **提示:** 应用会从 `.env` 读取数据库相关配置。使用内置 PostgreSQL 时请保持 `DB_DIALECT=postgresql`,只有在切换到其他数据库引擎时再调整该值。 | ||
| 326 | + | ||
| 325 | **重要环境变量配置**: | 327 | **重要环境变量配置**: |
| 326 | ```bash | 328 | ```bash |
| 327 | # LLM API配置(必需) | 329 | # LLM API配置(必需) |
-
Please register or login to post a comment