application.yaml 996 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. spring:
  2. application:
  3. name: dashboard
  4. # 数据源配置项 TODO 多数据源;TODO 监控配置
  5. datasource:
  6. url: jdbc:mysql://127.0.1:3306/ruoyi-vue-pro?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT
  7. driver-class-name: com.mysql.jdbc.Driver
  8. username: root
  9. password: 123456
  10. # redis 配置 TODO 需要进行下,对接到 redisson
  11. redis:
  12. # 地址
  13. host: localhost
  14. # 端口,默认为6379
  15. port: 6379
  16. # 数据库索引
  17. database: 0
  18. # 连接超时时间
  19. timeout: 10s
  20. # 芋道配置项,设置当前项目所有自定义的配置
  21. yudao:
  22. web:
  23. api-prefix: /api
  24. security:
  25. token-header: Authorization
  26. token-secret: abcdefghijklmnopqrstuvwxyz
  27. token-timeout: 1d
  28. session-timeout: 30m
  29. swagger:
  30. title: 管理后台
  31. description: 提供管理员管理的所有功能
  32. version: 1.0.0
  33. base-package: cn.iocoder.dashboard.modules
  34. captcha:
  35. timeout: 5m
  36. width: 160
  37. height: 60