Commit 3b898011 authored by pengxiong's avatar pengxiong

redis配置

parent d01a1060
......@@ -99,7 +99,8 @@ tamp_diagnose_app_engine = create_engine(
redis = redis.StrictRedis(
host=config[env]['redis']['host'],
port=config[env]['redis']['port'],
db=config[env]['redis']['db']
db=config[env]['redis']['db'],
password=config[env]['redis']['password']
)
logging.basicConfig(level=logging.INFO,
......
......@@ -35,9 +35,10 @@ test:
user: root
password: '@imeng123'
redis:
host: localhost
port: 6379
host: 118.190.63.109
port: 56379
db: 0
password: 'qimeng123'
oss:
imgs_url_prefix: https://testtamper.tanpuyun.com/hangjiapc/report/productionenv/ReportTempImg/
pdf_url_prefix: https://testtamper.tanpuyun.com/hangjiapc/report/productionenv/AppHoldReport/
......@@ -60,9 +61,10 @@ prod:
user: tamp_fund
password: '@imeng408'
redis:
host: localhost
host: r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com
port: 6379
db: 0
password: '@imeng123'
oss:
imgs_url_prefix: https://tamper.tanpuyun.com/hangjiapc/report/productionenv/ReportTempImg/
pdf_url_prefix: https://tamper.tanpuyun.com/hangjiapc/report/productionenv/AppHoldReport/
......
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