config.yml 700 B

123456789101112131415161718192021222324252627282930
  1. # config information
  2. # server config information
  3. server:
  4. mode: debug # debug,release
  5. host: 0.0.0.0
  6. port: 4003
  7. token_expire_second: 360000
  8. enable_https: false # 后台开启https
  9. # log config information
  10. log:
  11. open: true
  12. mode: basic # advanced,basic
  13. level: INFO # DEBUG,ERROR,INFO
  14. file: logs/gouser.log # log file path container log file name
  15. # image config information
  16. image:
  17. base_path: /Users/bssm/go/src/lzyd-images
  18. # base_path: /bssm/go/src/lzyd-images
  19. output_dir: images/
  20. prefix_url: https://lzyd-image.lizhiyuedong.com/
  21. max_size: 2 # unit MB
  22. # system config information
  23. system:
  24. avatar: http://lz2019-image.lzwg.com/images/cusimg.png
  25. sync: false
  26. valid: true