|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- # 当前域名
- debug: true
- curldebug: true
- prd: false
- local: true
- # 服务器参数
- 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'
- # 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: '119.23.182.117:3306'
- name: 'egg-data-back-up'
- user: 'root'
- psw: 'Fnuo123com@'
- show_log: true
- path: 'tmp/%s.log'
-
- #db_back:
- # host: 'advertisement-db.rwlb.rds.aliyuncs.com:3306'
- # name: 'egg-data-back-up'
- # user: 'canal'
- # psw: 'DengBiao@1997'
- # show_log: true
- # 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:
- # 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'
- 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: '120.77.153.180'
- port: '15672'
- user: 'guest'
- pwd: 'guest'
-
- es:
- url: 'http://123.57.140.192:9200'
- user: 'elastic'
- pwd: 'fnuo123'
-
- im_business_rpc:
- url: im-rpc-business.izhim.com
- port: 1005
-
- im_logic_rpc:
- url: im-rpc-logic.izhim.com
- port: 1008
|