refactor(database): 将数据库主机配置从容器内部切换为本地,定期更新交流群二维码 (#17)
将数据库连接配置中的主机从`host.docker.internal`切换为`localhost`,以便在本地开发环境中更方便地访问数据库。
This commit is contained in:
parent
3b5333dc87
commit
8751af209b
BIN
assets/group.jpg
BIN
assets/group.jpg
Binary file not shown.
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 159 KiB |
|
@ -4,8 +4,8 @@ from datetime import datetime
|
|||
|
||||
# 数据库连接配置
|
||||
db_config = {
|
||||
"host": "host.docker.internal", # 如果是在Docke容器内部访问数据库
|
||||
# "host": "localhost",
|
||||
# "host": "host.docker.internal", # 如果是在Docke容器内部访问数据库
|
||||
"host": "localhost",
|
||||
"port": 5455,
|
||||
"user": "root",
|
||||
"password": "infini_rag_flow",
|
||||
|
|
Loading…
Reference in New Issue