config.yaml 510 B

1234567891011121314151617181920212223242526272829
  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@2019oS"
  20. port: "3306"
  21. name: "iot"
  22. prefix: "t_"
  23. timezone: "Asia/Shanghai"
  24. redis:
  25. host: "127.0.0.1:6379"
  26. #password: "lczm*2019"