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.

25 lines
661 B

  1. # https://goframe.org/docs/web/server-config-file-template
  2. server:
  3. address: ":8080"
  4. openapiPath: "/api.json"
  5. swaggerPath: "/swagger"
  6. # https://goframe.org/docs/core/glog-config
  7. logger:
  8. level : "all"
  9. stdout: true
  10. # https://goframe.org/docs/core/gdb-config-file
  11. database:
  12. default:
  13. link: "mysql:live:p4jMAMShNM8HTrbX@tcp(39.101.133.168:3306)/live?charset=utf8mb4&parseTime=True&loc=Local"
  14. debug: true
  15. cms:
  16. link: "mysql:cms:AF42R3ib6YkFaemm@tcp(39.101.133.168:3306)/cms?charset=utf8mb4&parseTime=True&loc=Local"
  17. debug: true
  18. # redis暂不配置,记得加
  19. redis:
  20. default:
  21. address: "127.0.0.1:6379"
  22. password: ""
  23. db: 0