附近小店
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

task.yml 1.2 KiB

il y a 2 mois
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. admin:
  11. api_aes_key: e{&[^<wpliI$AgKs:>Ft(.~g]1eR-]VO
  12. api_aes_iv: ZV`7<5X]/2brS@sz
  13. app_comm:
  14. url: http://127.0.0.1:5003
  15. # 连接ElasticSearch
  16. es:
  17. url: 'http://120.55.48.175:9200'
  18. user: 'elastic'
  19. pwd: 'fnuo123'
  20. # 数据库
  21. db:
  22. host: '119.23.182.117:3306'
  23. name: 'zyos_website'
  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/task_sql_%v.log'
  31. zhimeng_db:
  32. host: '119.23.182.117:3306'
  33. name: 'zhi_meng'
  34. user: 'root'
  35. psw: 'Fnuo123com@'
  36. show_log: true
  37. max_lifetime: 30
  38. max_open_conns: 100
  39. max_idle_conns: 100
  40. path: 'tmp/%s.log'
  41. # 日志
  42. log:
  43. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  44. is_stdout: true
  45. time_format: 'standard' # sec, second, milli, nano, standard, iso
  46. encoding: 'console'
  47. is_file_out: true
  48. file_dir: './tmp/'
  49. file_max_size: 256
  50. file_max_age: 1
  51. file_name: 'task.log'
  52. # 连接RabbitMq
  53. mq:
  54. host: '116.62.62.35'
  55. port: '5672'
  56. user: 'zhios'
  57. pwd: 'ZHIoscnfnuo123'