config.yaml 739 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # HTTP Server.
  2. server:
  3. address: ":8085"
  4. code_enabled: true
  5. token_sign: "6MTY2MDcxMjgzNiwi"
  6. # Logger configurations.
  7. logger:
  8. # 1开启es 0关闭
  9. switch: 0
  10. path: "./log"
  11. level: "info"
  12. name: "info"
  13. db_show_log: 1
  14. # Database configurations.
  15. database:
  16. # 数据库配置
  17. #db.host : 106.52.134.22
  18. #db.host : 120.77.219.16
  19. host: "localhost"
  20. Auth: "root"
  21. password: "123456"
  22. #password : "lczm@2019oS"
  23. port: "3306"
  24. name: "lc_veterans"
  25. prefix: ""
  26. timezone: "Asia/Shanghai"
  27. redis:
  28. host: "localhost:6379"
  29. #password: ""
  30. #password: ""
  31. #接口
  32. #foreign:
  33. # iot_edge_url: "http://192.168.110.248:8195"
  34. # security_rewind_url: "http://192.168.110.28:9099"
  35. # ip_cast_edge_url: "http://1.117.161.196:10063"