|
@@ -8,30 +8,59 @@ local: true |
|
|
redis_addr: '127.0.0.1:6379' |
|
|
redis_addr: '127.0.0.1:6379' |
|
|
redis_password: '' |
|
|
redis_password: '' |
|
|
|
|
|
|
|
|
|
|
|
#db: |
|
|
|
|
|
# host: '119.23.182.117:3306' |
|
|
|
|
|
# name: 'egg' |
|
|
|
|
|
# user: 'root' |
|
|
|
|
|
# psw: 'Fnuo123com@' |
|
|
|
|
|
# show_log: true |
|
|
|
|
|
# max_lifetime: 30 |
|
|
|
|
|
# max_open_conns: 100 |
|
|
|
|
|
# max_idle_conns: 100 |
|
|
|
|
|
# path: 'tmp/%s.log' |
|
|
db: |
|
|
db: |
|
|
host: '119.23.182.117:3306' |
|
|
|
|
|
|
|
|
host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' |
|
|
name: 'egg' |
|
|
name: 'egg' |
|
|
user: 'root' |
|
|
|
|
|
psw: 'Fnuo123com@' |
|
|
|
|
|
|
|
|
user: 'canal' |
|
|
|
|
|
psw: 'DengBiao@1997' |
|
|
show_log: true |
|
|
show_log: true |
|
|
max_lifetime: 30 |
|
|
max_lifetime: 30 |
|
|
max_open_conns: 100 |
|
|
max_open_conns: 100 |
|
|
max_idle_conns: 100 |
|
|
max_idle_conns: 100 |
|
|
path: 'tmp/%s.log' |
|
|
path: 'tmp/%s.log' |
|
|
|
|
|
|
|
|
|
|
|
#db_back: |
|
|
|
|
|
# host: '119.23.182.117:3306' |
|
|
|
|
|
# name: 'egg-data-back-up' |
|
|
|
|
|
# user: 'root' |
|
|
|
|
|
# psw: 'Fnuo123com@' |
|
|
|
|
|
# show_log: true |
|
|
|
|
|
# path: 'tmp/%s.log' |
|
|
|
|
|
|
|
|
db_back: |
|
|
db_back: |
|
|
host: '119.23.182.117:3306' |
|
|
|
|
|
|
|
|
host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' |
|
|
name: 'egg-data-back-up' |
|
|
name: 'egg-data-back-up' |
|
|
user: 'root' |
|
|
|
|
|
psw: 'Fnuo123com@' |
|
|
|
|
|
|
|
|
user: 'canal' |
|
|
|
|
|
psw: 'DengBiao@1997' |
|
|
show_log: true |
|
|
show_log: true |
|
|
path: 'tmp/%s.log' |
|
|
path: 'tmp/%s.log' |
|
|
|
|
|
|
|
|
|
|
|
#im_db: |
|
|
|
|
|
# host: '119.23.182.117:3306' |
|
|
|
|
|
# name: 'egg-im' |
|
|
|
|
|
# user: 'root' |
|
|
|
|
|
# psw: 'Fnuo123com@' |
|
|
|
|
|
# show_log: true |
|
|
|
|
|
# max_lifetime: 30 |
|
|
|
|
|
# max_open_conns: 100 |
|
|
|
|
|
# max_idle_conns: 100 |
|
|
|
|
|
# path: 'tmp/%s.log' |
|
|
|
|
|
|
|
|
im_db: |
|
|
im_db: |
|
|
host: '119.23.182.117:3306' |
|
|
|
|
|
|
|
|
host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' |
|
|
name: 'egg-im' |
|
|
name: 'egg-im' |
|
|
user: 'root' |
|
|
|
|
|
psw: 'Fnuo123com@' |
|
|
|
|
|
|
|
|
user: 'canal' |
|
|
|
|
|
psw: 'DengBiao@1997' |
|
|
show_log: true |
|
|
show_log: true |
|
|
max_lifetime: 30 |
|
|
max_lifetime: 30 |
|
|
max_open_conns: 100 |
|
|
max_open_conns: 100 |
|
@@ -52,11 +81,16 @@ log: |
|
|
file_name: 'debug.log' |
|
|
file_name: 'debug.log' |
|
|
|
|
|
|
|
|
# 连接RabbitMq |
|
|
# 连接RabbitMq |
|
|
|
|
|
#mq: |
|
|
|
|
|
# host: '120.77.153.180' |
|
|
|
|
|
# port: '15672' |
|
|
|
|
|
# user: 'guest' |
|
|
|
|
|
# pwd: 'guest' |
|
|
mq: |
|
|
mq: |
|
|
host: '120.77.153.180' |
|
|
|
|
|
|
|
|
host: '116.62.62.35' |
|
|
port: '5672' |
|
|
port: '5672' |
|
|
user: 'guest' |
|
|
|
|
|
pwd: 'guest' |
|
|
|
|
|
|
|
|
user: 'zhios' |
|
|
|
|
|
pwd: 'ZHIoscnfnuo123' |
|
|
|
|
|
|
|
|
#es: |
|
|
#es: |
|
|
# url: 'http://120.55.48.175:9200' |
|
|
# url: 'http://120.55.48.175:9200' |
|
|