面包店
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.

9 maanden geleden
9 maanden geleden
9 maanden geleden
8 maanden geleden
9 maanden geleden
8 maanden geleden
9 maanden geleden
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # 当前域名
  2. debug: true
  3. curldebug: true
  4. prd: false
  5. local: true
  6. # 服务器参数
  7. srv_addr: ':4001'
  8. # 缓存
  9. redis_addr: '120.24.28.6:32572'
  10. redis_password: ''
  11. # 连接官网数据库获取db mapping
  12. db:
  13. host: 'zhios123.rwlb.rds.aliyuncs.com:3306'
  14. name: 'bakery'
  15. user: 'canal'
  16. psw: 'canal'
  17. show_log: true
  18. max_lifetime: 30
  19. max_open_conns: 100
  20. max_idle_conns: 100
  21. path: 'tmp/%s.log'
  22. #db:
  23. # host: '39.108.126.122:3306'
  24. # name: 'bakery'
  25. # user: 'root'
  26. # psw: 'ZhiSheng123.com'
  27. # show_log: true
  28. # max_lifetime: 30
  29. # max_open_conns: 100
  30. # max_idle_conns: 100
  31. # path: 'tmp/%s.log'
  32. # 日志
  33. log:
  34. app_name: 'applet'
  35. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  36. is_stdout: true
  37. time_format: 'standard' # sec, second, milli, nano, standard, iso
  38. encoding: 'console'
  39. is_file_out: true
  40. file_dir: './tmp/'
  41. file_max_size: 256
  42. file_max_age: 1
  43. file_name: 'debug.log'