Commit c4838fbd by Aeolus

修改测试服数据库

parent 85090e3c
......@@ -5,12 +5,11 @@ is_prod = os.getenv("RUN_ENV", "test") == 'prod'
if is_prod:
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:Boosal2014!!@sh-cdb-kzmpyjqw.sql.tencentcdb.com:63037/suishenwan'
else:
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:JYfd9X0w5DFAg4bU@sh-cdb-hcnle4m0.sql.tencentcdb.com:63443/suishenwan'
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:N58uTiMT#tt*@sh-cdb-9yr5zhu0.sql.tencentcdb.com:61088/suishenwan'
SECRET_KEY = "MgwuKKEcAk2UIaGxHAwnf38YvjvXMCqb"
SQLALCHEMY_TRACK_MODIFICATIONS = False
if is_prod:
TENCENT_REDIS_URL = "redis://:Boosal2014@172.17.0.5:6379"
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment