config.yaml 560 B

12345678910111213141516171819202122
  1. # 服务相关配置
  2. server:
  3. # 启动模式 debug、release
  4. mode: debug
  5. # http服务信息
  6. insecureServingInfo:
  7. # 监听端口
  8. port: ":8888"
  9. mongo:
  10. url: "mongodb://mongo_exisCi:mongo_CxCEWF@124.220.100.95:27017/"
  11. password: ""
  12. db: 0
  13. download:
  14. # 存储路径
  15. imageurl: "/download/image/"
  16. path: "backend/static/images"
  17. # 存储路径
  18. fileurl: "/download/file/"
  19. filepath: "backend/static/files"
  20. swag:
  21. # 将环境变量 NAME_OF_ENV_VARIABLE设置为任意值,则 /swagger/*any 返回404响应
  22. enable: "NAME_OF_ENV_VARIABLE"