|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # debug release test
- debug: true
- prd: false
- local: true
- # 缓存
- redis_addr: '120.24.28.6:32572'
- redis_addr_second:
- addr: '120.24.28.6:32572'
- pwd: ''
- admin:
- api_aes_key: e{&[^<wpliI$AgKs:>Ft(.~g]1eR-]VO
- api_aes_iv: ZV`7<5X]/2brS@sz
- app_comm:
- url: http://127.0.0.1:5003
-
- # 连接ElasticSearch
- es:
- url: 'http://120.55.48.175:9200'
- user: 'elastic'
- pwd: 'fnuo123'
-
- # 数据库
- 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/task_sql_%v.log'
-
- zhimeng_db:
- host: '119.23.182.117:3306'
- name: 'zhi_meng'
- user: 'root'
- psw: 'Fnuo123com@'
- show_log: true
- max_lifetime: 30
- max_open_conns: 100
- max_idle_conns: 100
- path: 'tmp/%s.log'
- # 日志
- log:
- 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: 'task.log'
- # 连接RabbitMq
- mq:
- host: '116.62.62.35'
- port: '5672'
- user: 'zhios'
- pwd: 'ZHIoscnfnuo123'
|