1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # spring配置
- spring:
- redis:
- host: 192.168.60.221
- port: 6379
- password:
- datasource:
- druid:
- stat-view-servlet:
- enabled: true
- loginUsername: ruoyi
- loginPassword: 123456
- dynamic:
- druid:
- initial-size: 5
- min-idle: 5
- maxActive: 20
- maxWait: 60000
- connectTimeout: 30000
- socketTimeout: 60000
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: SELECT 1
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxPoolPreparedStatementPerConnectionSize: 20
- filters: stat,slf4j
- connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
- datasource:
- master:
- driver-class-name: org.postgresql.Driver
- url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
- username: postgres
- password: postgis
- # 从库数据源
- # slave:
- # username:
- # password:
- # url:
- # driver-class-name:
- # mybatis配置
- mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.siwei.spatial
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath:mapper/postgresql/**/*.xml
- # springdoc配置
- springdoc:
- gatewayUrl: http://localhost:8080/${spring.application.name}
- api-docs:
- # 是否开启接口文档
- enabled: true
- info:
- # 标题
- title: '空间处理模块接口文档'
- # 描述
- description: '空间处理模块接口描述'
- # 作者信息
- contact:
- name: RuoYi
- url: https://ruoyi.vip
|