|
|
yoho.logs.level = INFO
|
|
|
yoho.logs.basedir = /Data/logs
|
|
|
yoho.logs.maxHistory = 30
|
|
|
yoho.logs.maxFileSize = 100MB
|
|
|
|
|
|
yoho.env.javahome = /usr/local/java
|
|
|
yoho.env.serverhome = /usr/local/tomcat
|
|
|
yoho.env.servertype = tomcat
|
|
|
yoho.env.productmode = PRODUCT
|
|
|
|
|
|
|
|
|
### ****************************** database ***********************************
|
|
|
|
|
|
jdbc.mysql.yhresource.master.url=jdbc:mysql://192.168.100.203:3306/yh_resource
|
|
|
jdbc.mysql.yhresource.slave.url=jdbc:mysql://192.168.100.203:3306/yh_resource
|
|
|
jdbc.mysql.yhresource.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhresource.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
jdbc.mysql.yhshops.master.url=jdbc:mysql://192.168.100.215:3306/yh_shops
|
|
|
jdbc.mysql.yhshops.slave.url=jdbc:mysql://192.168.100.216:3306/yh_shops
|
|
|
jdbc.mysql.yhshops.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhshops.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
# yh_orders
|
|
|
jdbc.mysql.yhorders.master.url=jdbc:mysql://192.168.100.213:3306/yh_orders
|
|
|
jdbc.mysql.yhorders.slave.url=jdbc:mysql://192.168.100.213:3306/yh_orders
|
|
|
jdbc.mysql.yhorders.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhorders.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
# yhb_operations
|
|
|
jdbc.mysql.yhboperations.master.url=jdbc:mysql://192.168.100.203:3306/yhb_operations
|
|
|
jdbc.mysql.yhboperations.slave.url=jdbc:mysql://192.168.100.204:3306/yhb_operations
|
|
|
jdbc.mysql.yhboperations.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhboperations.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
# yh_comment
|
|
|
jdbc.mysql.yhcomment.master.url=jdbc:mysql://192.168.100.203:3306/yh_comment
|
|
|
jdbc.mysql.yhcomment.slave.url=jdbc:mysql://192.168.100.204:3306/yh_comment
|
|
|
jdbc.mysql.yhcomment.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhcomment.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yhb_promotion
|
|
|
jdbc.mysql.yhbpromotion.master.url=jdbc:mysql://192.168.100.213:3306/yhb_promotion
|
|
|
jdbc.mysql.yhbpromotion.slave.url=jdbc:mysql://192.168.100.214:3306/yhb_promotion
|
|
|
jdbc.mysql.yhbpromotion.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhbpromotion.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yoho_sms配置读写分离
|
|
|
jdbc.mysql.yohosms.master.url=jdbc:mysql://192.168.100.211:3306/yoho_sms
|
|
|
jdbc.mysql.yohosms.slave.url=jdbc:mysql://192.168.100.212:3306/yoho_sms
|
|
|
jdbc.mysql.yohosms.username=yh_vpc_bak
|
|
|
jdbc.mysql.yohosms.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_inbox配置读写分离
|
|
|
jdbc.mysql.yhinbox.master.url=jdbc:mysql://192.168.100.211:3306/yh_inbox
|
|
|
jdbc.mysql.yhinbox.slave.url=jdbc:mysql://192.168.100.212:3306/yh_inbox
|
|
|
jdbc.mysql.yhinbox.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhinbox.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
|
|
|
jdbc.mysql.yohologs.master.url=jdbc:mysql://rdsa35694990gy7q55c5.mysql.rds.aliyuncs.com:3306/yohobuy_logs
|
|
|
jdbc.mysql.yohologs.username=yohobuy_logs_dev
|
|
|
jdbc.mysql.yohologs.password=Buylogs_develop-9646yoHO
|
|
|
|
|
|
#yoho_passport读写数据分离
|
|
|
jdbc.mysql.yohopassport.master.url=jdbc:mysql://192.168.100.211:3306/yoho_passport
|
|
|
jdbc.mysql.yohopassport.slave.url=jdbc:mysql://192.168.100.212:3306/yoho_passport
|
|
|
jdbc.mysql.yohopassport.username=yh_vpc_bak
|
|
|
jdbc.mysql.yohopassport.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_operations配置读写分离
|
|
|
jdbc.mysql.yhoperations.master.url=jdbc:mysql://192.168.100.203:3306/yh_operations
|
|
|
jdbc.mysql.yhoperations.slave.url=jdbc:mysql://192.168.100.204:3306/yh_operations
|
|
|
jdbc.mysql.yhoperations.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhoperations.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_passport读写分离
|
|
|
jdbc.mysql.yhpassport.master.url=jdbc:mysql://192.168.100.211:3306/yh_passport
|
|
|
jdbc.mysql.yhpassport.slave.url=jdbc:mysql://192.168.100.211:3306/yh_passport
|
|
|
jdbc.mysql.yhpassport.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhpassport.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_setting读写分离
|
|
|
jdbc.mysql.yhsetting.master.url=jdbc:mysql://192.168.100.203:3306/yh_setting
|
|
|
jdbc.mysql.yhsetting.slave.url=jdbc:mysql://192.168.100.204:3306/yh_setting
|
|
|
jdbc.mysql.yhsetting.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhsetting.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_pay
|
|
|
jdbc.mysql.pay.master.url=jdbc:mysql://192.168.100.213:3306/yoho_pay
|
|
|
jdbc.mysql.pay.slave.url=jdbc:mysql://192.168.100.213:3306/yoho_pay
|
|
|
jdbc.mysql.pay.username=yh_vpc_bak
|
|
|
jdbc.mysql.pay.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#event
|
|
|
jdbc.mysql.yhevents.master.url=jdbc:mysql://192.168.100.203:3306/yh_events
|
|
|
jdbc.mysql.yhevents.slave.url=jdbc:mysql://192.168.100.204:3306/yh_events
|
|
|
jdbc.mysql.yhevents.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhevents.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
|
|
|
#event
|
|
|
jdbc.mysql.yhcoupons.master.url=jdbc:mysql://192.168.100.213:3306/yh_coupons
|
|
|
jdbc.mysql.yhcoupons.slave.url=jdbc:mysql://192.168.100.214:3306/yh_coupons
|
|
|
jdbc.mysql.yhcoupons.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhcoupons.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#yh_consult
|
|
|
jdbc.mysql.yhconsult.master.url=jdbc:mysql://192.168.100.203:3306/yh_consult
|
|
|
jdbc.mysql.yhconsult.slave.url=jdbc:mysql://192.168.100.204:3306/yh_consult
|
|
|
jdbc.mysql.yhconsult.username=yh_vpc_bak
|
|
|
jdbc.mysql.yhconsult.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
#unions
|
|
|
jdbc.mysql.unions.master.url=jdbc:mysql://192.168.100.203:3306/yh_unions
|
|
|
jdbc.mysql.unions.slave.url=jdbc:mysql://192.168.100.204:3306/yh_unions
|
|
|
jdbc.mysql.unions.username=yh_vpc_bak
|
|
|
jdbc.mysql.unions.password=yoho@2Y$^YpNb7hp
|
|
|
|
|
|
|
|
|
|
|
|
### ****************************** for databases.yml ***********************************
|
|
|
|
|
|
jdbc.mysql.yhresource.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhresource.slave=192.168.100.203:3306
|
|
|
|
|
|
jdbc.mysql.yhshops.master=192.168.100.215:3306
|
|
|
jdbc.mysql.yhshops.slave=192.168.100.216:3306
|
|
|
|
|
|
# yh_orders
|
|
|
jdbc.mysql.yhorders.master=192.168.100.213:3306
|
|
|
jdbc.mysql.yhorders.slave=192.168.100.213:3306
|
|
|
|
|
|
# yhb_operations
|
|
|
jdbc.mysql.yhboperations.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhboperations.slave=192.168.100.204:3306
|
|
|
|
|
|
# yh_comment
|
|
|
jdbc.mysql.yhcomment.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhcomment.slave=192.168.100.204:3306
|
|
|
|
|
|
#yhb_promotion
|
|
|
jdbc.mysql.yhbpromotion.master=192.168.100.213:3306
|
|
|
jdbc.mysql.yhbpromotion.slave=192.168.100.214:3306
|
|
|
|
|
|
#yoho_sms配置读写分离
|
|
|
jdbc.mysql.yohosms.master=192.168.100.211:3306
|
|
|
jdbc.mysql.yohosms.slave=192.168.100.212:3306
|
|
|
|
|
|
#yh_inbox配置读写分离
|
|
|
jdbc.mysql.yhinbox.master=192.168.100.211:3306
|
|
|
jdbc.mysql.yhinbox.slave=192.168.100.212:3306
|
|
|
|
|
|
#yoho_logs配置读写分离, 暂时将表存在yoho_sms中
|
|
|
jdbc.mysql.yohologs.master=rdsa35694990gy7q55c5.mysql.rds.aliyuncs.com:3306
|
|
|
|
|
|
#yoho_passport读写数据分离
|
|
|
jdbc.mysql.yohopassport.master=192.168.100.211:3306
|
|
|
jdbc.mysql.yohopassport.slave=192.168.100.212:3306
|
|
|
|
|
|
#yh_operations配置读写分离
|
|
|
jdbc.mysql.yhoperations.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhoperations.slave=192.168.100.204:3306
|
|
|
|
|
|
#yh_passport读写分离
|
|
|
jdbc.mysql.yhpassport.master=192.168.100.211:3306
|
|
|
jdbc.mysql.yhpassport.slave=192.168.100.211:3306
|
|
|
|
|
|
#yh_setting读写分离
|
|
|
jdbc.mysql.yhsetting.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhsetting.slave=192.168.100.204:3306
|
|
|
|
|
|
#yh_pay
|
|
|
jdbc.mysql.pay.master=192.168.100.213:3306
|
|
|
jdbc.mysql.pay.slave=192.168.100.213:3306
|
|
|
|
|
|
#event
|
|
|
jdbc.mysql.yhevents.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhevents.slave=192.168.100.204:3306
|
|
|
|
|
|
#event
|
|
|
jdbc.mysql.yhcoupons.master=192.168.100.213:3306
|
|
|
jdbc.mysql.yhcoupons.slave=192.168.100.214:3306
|
|
|
|
|
|
#yh_consult
|
|
|
jdbc.mysql.yhconsult.master=192.168.100.203:3306
|
|
|
jdbc.mysql.yhconsult.slave=192.168.100.204:3306
|
|
|
|
|
|
#unions
|
|
|
jdbc.mysql.unions.master=192.168.100.203:3306
|
|
|
jdbc.mysql.unions.slave=192.168.100.204:3306
|
|
|
|
|
|
##### **************************************** common properties ******************************************************
|
|
|
users.browse.expire=90
|
|
|
|
|
|
is_debug_enable = false
|
|
|
|
|
|
file.uploadTempDir=/Data
|
|
|
file.saveDir=/Data/save
|
|
|
|
|
|
aliyun.accessid = mkb5KaMTUeAnfHI5
|
|
|
aliyun.bucket = yohotest
|
|
|
aliyun.domain = http://7xnrdp.com1.z0.glb.clouddn.com
|
|
|
aliyun.endpoint = oss-cn-shanghai.aliyuncs.com
|
|
|
|
|
|
cache.servers.gateway.level1.address = 192.168.74.6:11211,192.168.74.7:11211,192.168.74.8:11211
|
|
|
cache.servers.gateway.level1.expire = 1800
|
|
|
cache.servers.gateway.level2.address = 192.168.74.16:11211,192.168.74.16:11212,192.168.81.20:11211,192.168.81.20:11212
|
|
|
cache.servers.gateway.level2.expire = 43200
|
|
|
|
|
|
cache.servers.union.address = 192.168.90.9:11211
|
|
|
|
|
|
ip.port.search.server = 101.201.178.220
|
|
|
|
|
|
qiniu.accesskey = atSf7xxIl8alEnsXbhC1bOD1GWVW3qYffz8SlB4m
|
|
|
qiniu.bucket = yhfair
|
|
|
qiniu.domain = http://yhfair.qiniudn.com
|
|
|
qiniu.secretkey = pyoJzPygXIkFWrc1BAsH6tAJ0yweTchpJwGKEwhm
|
|
|
|
|
|
# old redis
|
|
|
redis.proxy.address = 192.168.74.9
|
|
|
redis.proxy.auth =
|
|
|
redis.proxy.port = 6379
|
|
|
|
|
|
|
|
|
redis.new.proxy.address = write_redis.yoho.cn
|
|
|
redis.new.proxy.auth =
|
|
|
redis.new.proxy.port = 6379
|
|
|
|
|
|
|
|
|
# union redis
|
|
|
redis.union.address = 192.168.100.112
|
|
|
redis.union.auth =
|
|
|
redis.union.port = 6379
|
|
|
|
|
|
|
|
|
gateway.domain.url = http://api.yoho.cn
|
|
|
|
|
|
zkAddress=192.168.74.6:2181,192.168.74.7:2181,192.168.74.8:2181,192.168.74.15:2181
|
|
|
|
|
|
order.task.host=192.168.81.6
|
|
|
|
|
|
APP_KEY = 1392109259
|
|
|
APP_SECRET = 1e87e46f115cc813e27ef52eb9915f1e
|
|
|
UUC_DOMAIN = https://192.168.250.4:443
|
|
|
|
|
|
Gateway_URL=http://192.168.74.6:8080/gateway
|
|
|
|
|
|
#payment callback url
|
|
|
wechat.app.notifyurl=service.yoho.cn/payment/wechat_notify
|
|
|
wechat.wap.notifyurl=service.yoho.cn/payment/wechatwap_notify
|
|
|
unionpay.notifyurl=service.yoho.cn/payment/unionpay_notify
|
|
|
qq.notifyurl=service.yoho.cn/payment/qqpay_notify
|
|
|
|
|
|
##### **************************************** services.yml ******************************************************
|
|
|
|
|
|
message.server.a = 192.168.81.8
|
|
|
message.server.b = 192.168.81.9
|
|
|
message.server.c = 192.168.81.18
|
|
|
message.server.d = 192.168.81.19
|
|
|
|
|
|
order.server.a = 192.168.81.6
|
|
|
order.server.b = 192.168.81.7
|
|
|
order.server.c = 192.168.81.16
|
|
|
order.server.d = 192.168.81.17
|
|
|
|
|
|
product.server.a = 192.168.81.8
|
|
|
product.server.b = 192.168.81.9
|
|
|
product.server.c = 192.168.81.18
|
|
|
product.server.d = 192.168.81.19
|
|
|
|
|
|
promotion.server.a = 192.168.81.6
|
|
|
promotion.server.b = 192.168.81.7
|
|
|
promotion.server.c = 192.168.81.16
|
|
|
promotion.server.d = 192.168.81.17
|
|
|
|
|
|
|
|
|
resources.server.a = 192.168.81.4
|
|
|
resources.server.b = 192.168.81.5
|
|
|
resources.server.c = 192.168.81.14
|
|
|
resources.server.d = 192.168.81.15
|
|
|
|
|
|
sns.server.a = 192.168.81.8
|
|
|
sns.server.b = 192.168.81.9
|
|
|
sns.server.c = 192.168.81.18
|
|
|
sns.server.d = 192.168.81.19
|
|
|
|
|
|
users.server.a = 192.168.81.4
|
|
|
users.server.b = 192.168.81.5
|
|
|
users.server.c = 192.168.81.14
|
|
|
users.server.d = 192.168.81.15 |
|
|
\ No newline at end of file |