智盟项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 line
965 B

  1. # debug release test
  2. debug: true
  3. prd: false
  4. local: true
  5. # 缓存
  6. redis_addr: '120.24.28.6:32572'
  7. redis_addr_second:
  8. addr: '120.24.28.6:32572'
  9. pwd: ''
  10. # 数据库
  11. db:
  12. host: '119.23.182.117:3306'
  13. name: 'zyos_website'
  14. user: 'root'
  15. psw: 'Fnuo123com@'
  16. show_log: true
  17. max_lifetime: 30
  18. max_open_conns: 100
  19. max_idle_conns: 100
  20. path: 'tmp/task_sql_%v.log'
  21. zhimeng_db:
  22. host: '119.23.182.117:3306'
  23. name: 'zhi_meng'
  24. user: 'root'
  25. psw: 'Fnuo123com@'
  26. show_log: true
  27. max_lifetime: 30
  28. max_open_conns: 100
  29. max_idle_conns: 100
  30. path: 'tmp/%s.log'
  31. # 日志
  32. log:
  33. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  34. is_stdout: true
  35. time_format: 'standard' # sec, second, milli, nano, standard, iso
  36. encoding: 'console'
  37. is_file_out: true
  38. file_dir: './tmp/'
  39. file_max_size: 256
  40. file_max_age: 1
  41. file_name: 'task.log'
  42. # 连接ElasticSearch
  43. es:
  44. url: 'http://120.55.48.175:9200'
  45. user: 'elastic'
  46. pwd: 'fnuo123'