mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
chore(config): 切换项目数据源到远程 MySQL
This commit is contained in:
1 parent
d33601c987
commit
aee8c58b04
3 files changed
+153
-7
No files matched your search
@@ -38,8 +38,8 @@ WEREAD_API_KEY = os.environ.get("WEREAD_API_KEY", "")
|
||||
WEREAD_SKILL_VERSION = os.environ.get("WEREAD_SKILL_VERSION", "1.0.4")
|
||||
|
||||
MYSQL_CONFIG = {
|
||||
"host": os.environ.get("WEREAD_DB_HOST", "127.0.0.1"),
|
||||
"port": int(os.environ.get("WEREAD_DB_PORT", 3306)),
|
||||
"host": os.environ.get("WEREAD_DB_HOST", "124.222.38.85"),
|
||||
"port": int(os.environ.get("WEREAD_DB_PORT", 13306)),
|
||||
"user": os.environ.get("WEREAD_DB_USER", "root"),
|
||||
"password": os.environ.get("WEREAD_DB_PASSWORD", "258963"),
|
||||
"database": os.environ.get("WEREAD_DB_NAME", "weread_dashboard"),
|
||||
|
||||
Reference in new issue
Block a user