# 当前域名 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://api.zhiyingos.com wxapplet_filepath: url: '/etc/zyos-admin/wx_check_file' # 连接官网数据库获取db mapping db: host: '119.23.182.117:3306' name: 'zyso_website_back' user: 'root' psw: 'Fnuo123com@' show_log: true max_lifetime: 30 max_open_conns: 100 max_idle_conns: 100 path: 'tmp/%s.log' # 连接 big_data_screen 数据库 data_db: host: 'zhios123.rwlb.rds.aliyuncs.com:3306' name: 'big_data_screen' user: 'canal' psw: 'canal' show_log: true max_lifetime: 30 max_open_conns: 100 max_idle_conns: 100 path: 'tmp/%s.log' im_db: host: 'zhios123.rwlb.rds.aliyuncs.com:3306' name: 'gim' user: 'canal' psw: 'canal' 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: '116.62.62.35' port: '5672' user: 'zhios' pwd: 'ZHIoscnfnuo123' # 连接ElasticSearch es: url: 'http://120.55.48.175:9200' user: 'elastic' pwd: 'fnuo123' # 测试环境的ip rabbitMq_addr_test: 'amqp://admin:123456@119.23.182.117:5672/' # 正式环境的ip rabbitMq_addr: 'amqp://zhios:ZHIoscnfnuo123@116.62.62.35:5672/' im_business_rpc: url: im-rpc-business.zhiyingos.com port: 8000 im_logic_rpc: url: im-rpc-logic.zhiyingos.com port: 8003