config.yaml 523 B

123456789101112131415161718192021222324252627282930
  1. # HTTP Server.
  2. server:
  3. address: ":8199"
  4. code_enabled: true
  5. token_sign: "6MTY2MDcxMjgzNiwi"
  6. # Logger configurations.
  7. logger:
  8. path: "/log/gf-demos"
  9. level: "info"
  10. stdout: true
  11. # Database configurations.
  12. database:
  13. # 数据库配置
  14. #db.host : 106.52.134.22
  15. #db.host : 120.77.219.16
  16. host: "127.0.0.1"
  17. user: "root"
  18. password: "root"
  19. #password : "lczm*2019"
  20. port: "3306"
  21. name: "ipole_iot"
  22. prefix: "t_"
  23. timezone: "Asia/Shanghai"
  24. redis:
  25. host: "127.0.0.1:6379"
  26. user: "root"
  27. password: "root"