Browse Source

update formal cfg

master
shenjiachi 1 day ago
parent
commit
bc7e7cce76
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      etc/cfg.yml

+ 13
- 13
etc/cfg.yml View File

@@ -9,26 +9,26 @@ srv_addr: ':4001'
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: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
# host: '119.23.182.117:3306'
# name: 'egg' # name: 'egg'
# user: 'canal'
# psw: 'DengBiao@1997'
# user: 'root'
# psw: 'Fnuo123com@'
# 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:
host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
name: 'egg'
user: 'canal'
psw: 'DengBiao@1997'
show_log: true
max_lifetime: 30
max_open_conns: 100
max_idle_conns: 100
path: 'tmp/%s.log'


#db_back: #db_back:
# host: '119.23.182.117:3306' # host: '119.23.182.117:3306'


Loading…
Cancel
Save