|
|
|
@ -27,15 +27,15 @@ class Settings(BaseSettings): |
|
|
|
|
DEEPSEEK_API_KEY: str = "sk-6147b0356b474070a8df1f2703704ea1" |
|
|
|
|
DEEPSEEK_API_URL: str = "https://api.deepseek.com/v1" |
|
|
|
|
# Redis |
|
|
|
|
REDIS_HOST: str = "39.105.17.128" |
|
|
|
|
REDIS_PORT: int = 33062 |
|
|
|
|
REDIS_DB: int = 1 |
|
|
|
|
REDIS_PASSWORD: str = "cjy@123abc" |
|
|
|
|
REDIS_HOST: str = "172.21.11.23" |
|
|
|
|
REDIS_PORT: int = 16379 |
|
|
|
|
REDIS_DB: int = 5 |
|
|
|
|
REDIS_PASSWORD: str = "5578ac31278440dba14c22221b963394-c2814ceb07d04386b2bc4c16c2e5c63a" |
|
|
|
|
# flow mysql |
|
|
|
|
FLOW_MYSQL_HOST: str = "39.105.17.128" |
|
|
|
|
FLOW_MYSQL_PORT: int = 33068 |
|
|
|
|
FLOW_MYSQL_HOST: str = "172.21.11.23" |
|
|
|
|
FLOW_MYSQL_PORT: int = 13326 |
|
|
|
|
FLOW_MYSQL_USER: str = "root" |
|
|
|
|
FLOW_MYSQL_PASSWORD: str = "Mysql@1303" |
|
|
|
|
FLOW_MYSQL_PASSWORD: str = "#@$3cJ?*=&981+--.$%^bnoZT12QfK" |
|
|
|
|
FLOW_MYSQL_DB: str = "equipment_passenger_flow" |
|
|
|
|
# 验签秘钥 |
|
|
|
|
SIGN_KEY: str = "qIaGO0fZJNW2f0DM6upT" |
|
|
|
@ -51,10 +51,10 @@ class Settings(BaseSettings): |
|
|
|
|
"mysql": { |
|
|
|
|
"engine": "tortoise.backends.mysql", |
|
|
|
|
"credentials": { |
|
|
|
|
"host": "39.105.17.128", |
|
|
|
|
"port": 33068, |
|
|
|
|
"host": "172.21.11.23", |
|
|
|
|
"port": 13326, |
|
|
|
|
"user": "root", |
|
|
|
|
"password": "Mysql@1303", |
|
|
|
|
"password": "#@$3cJ?*=&981+--.$%^bnoZT12QfK", |
|
|
|
|
"database": "bd_ai_fastapi", |
|
|
|
|
}, |
|
|
|
|
"pool_size": 20, # 增加连接池大小 |
|
|
|
|