siwei-spatial-dev.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # spring配置
  2. spring:
  3. redis:
  4. host: 192.168.60.221
  5. port: 6379
  6. password:
  7. datasource:
  8. druid:
  9. stat-view-servlet:
  10. enabled: true
  11. loginUsername: ruoyi
  12. loginPassword: 123456
  13. dynamic:
  14. druid:
  15. initial-size: 5
  16. min-idle: 5
  17. maxActive: 20
  18. maxWait: 60000
  19. connectTimeout: 30000
  20. socketTimeout: 60000
  21. timeBetweenEvictionRunsMillis: 60000
  22. minEvictableIdleTimeMillis: 300000
  23. validationQuery: SELECT 1
  24. testWhileIdle: true
  25. testOnBorrow: false
  26. testOnReturn: false
  27. poolPreparedStatements: true
  28. maxPoolPreparedStatementPerConnectionSize: 20
  29. filters: stat,slf4j
  30. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  31. datasource:
  32. master:
  33. driver-class-name: org.postgresql.Driver
  34. url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
  35. username: postgres
  36. password: postgis
  37. # 从库数据源
  38. # slave:
  39. # username:
  40. # password:
  41. # url:
  42. # driver-class-name:
  43. # mybatis配置
  44. mybatis:
  45. # 搜索指定包别名
  46. typeAliasesPackage: com.siwei.spatial
  47. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  48. mapperLocations: classpath:mapper/postgresql/**/*.xml
  49. # springdoc配置
  50. springdoc:
  51. gatewayUrl: http://localhost:8080/${spring.application.name}
  52. api-docs:
  53. # 是否开启接口文档
  54. enabled: true
  55. info:
  56. # 标题
  57. title: '空间处理模块接口文档'
  58. # 描述
  59. description: '空间处理模块接口描述'
  60. # 作者信息
  61. contact:
  62. name: RuoYi
  63. url: https://ruoyi.vip