fix redis db for prod

This commit is contained in:
pengtao 2019-10-11 10:53:14 +08:00
parent b93549aa62
commit 7030f1e45e
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
myenv="test"
myenv="prod"

View File

@ -6,7 +6,7 @@ from ops.env import myenv
ad_mysql_pwd = os.getenv('adpwd') or 'vF4j56AfxU3P'
log_path = "/data/logs"
if myenv == 'prod':
redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 1, 'passwd': 'crs-9ltb97ds:i33dkxshh'}
redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 13, 'passwd': 'crs-9ltb97ds:i33dkxshh'}
mysql_promotion_config = {'user': 'ad', 'pswd': ad_mysql_pwd, 'host': '10.10.3.5', 'db': 'ad'}
ad_list_interface_port = 5014
priv_i_port=5015