From cecccb8f3256d6a258dd97b6ecb798e791c1ff9a Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 17 Dec 2024 09:52:32 +0800 Subject: [PATCH] update cfg --- etc/cfg.yml | 66 ++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/etc/cfg.yml b/etc/cfg.yml index 0db3792..8613cbe 100644 --- a/etc/cfg.yml +++ b/etc/cfg.yml @@ -9,65 +9,65 @@ srv_addr: ':4001' redis_addr: '127.0.0.1:6379' 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: - host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' + host: '119.23.182.117:3306' name: 'egg' - user: 'canal' - psw: 'DengBiao@1997' + user: 'root' + psw: 'Fnuo123com@' show_log: true max_lifetime: 30 max_open_conns: 100 max_idle_conns: 100 path: 'tmp/%s.log' - -#db_back: -# host: '119.23.182.117:3306' -# name: 'egg-data-back-up' -# user: 'root' -# psw: 'Fnuo123com@' +#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: - host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' + host: '119.23.182.117:3306' name: 'egg-data-back-up' - user: 'canal' - psw: 'DengBiao@1997' + user: 'root' + psw: 'Fnuo123com@' show_log: true path: 'tmp/%s.log' -#im_db: -# host: '119.23.182.117:3306' -# name: 'egg-im' -# user: 'root' -# psw: 'Fnuo123com@' +#db_back: +# host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' +# name: 'egg-data-back-up' +# user: 'canal' +# psw: 'DengBiao@1997' # show_log: true -# max_lifetime: 30 -# max_open_conns: 100 -# max_idle_conns: 100 # path: 'tmp/%s.log' im_db: - host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' + host: '119.23.182.117:3306' name: 'egg-im' - user: 'canal' - psw: 'DengBiao@1997' + user: 'root' + psw: 'Fnuo123com@' show_log: true max_lifetime: 30 max_open_conns: 100 max_idle_conns: 100 path: 'tmp/%s.log' +#im_db: +# host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306' +# name: 'egg-im' +# user: 'canal' +# psw: 'DengBiao@1997' +# show_log: true +# max_lifetime: 30 +# max_open_conns: 100 +# max_idle_conns: 100 +# path: 'tmp/%s.log' + # 日志 log: app_name: 'applet'