From 7fccfc9024dab3adfc1628b9755da564b5bbde41 Mon Sep 17 00:00:00 2001 From: jiaoboxiang Date: Thu, 10 Nov 2022 16:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/cfg.yml | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 etc/cfg.yml diff --git a/etc/cfg.yml b/etc/cfg.yml new file mode 100644 index 0000000..01c40ff --- /dev/null +++ b/etc/cfg.yml @@ -0,0 +1,66 @@ +# 当前域名 +debug: true +curldebug: true +prd: false +local: true +# 服务器参数 +srv_addr: ':5100' +# 缓存 +redis_addr: '120.24.28.6:32572' + +admin: + url: http://zyos.com + iurl: http://zyos.com + api_aes_key: e{&[^Ft(.~g]1eR-]VO + api_aes_iv: ZV`7<5X]/2brS@sz + host: http://127.0.0.1:5003 + +official: + url: http://izhyin.com + +supply: + url: http://supply-chain-admin:5500 + +app_comm: + url: http://127.0.0.1:5003 + +wxapplet_filepath: + url: '/etc/zyos-admin/wx_check_file' + +# 连接官网数据库获取db mapping +db: + host: '119.23.182.117:3306' + name: 'zyos_website' + user: 'root' + psw: 'Fnuo123com@' + show_log: true + max_lifetime: 30 + max_open_conns: 100 + max_idle_conns: 100 + path: 'tmp/%s.log' + +# 日志 +log: + app_name: 'applet' + level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic + is_stdout: true + time_format: 'standard' # sec, second, milli, nano, standard, iso + encoding: 'console' + is_file_out: true + file_dir: './tmp/' + file_max_size: 256 + file_max_age: 1 + file_name: 'debug.log' + +# 连接RabbitMq +mq: + host: '119.23.182.117' + port: '5672' + user: 'admin' + pwd: '123456' +# 监听RabbitMq队列名 +mq_work_queue_name: 'pay_query_work_queue,pay_return_query_work_queue,test_work_queue' +# 测试环境的ip +rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/' +# 正式环境的ip +rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/'