| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 | # 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: com.mysql.cj.jdbc.Driver          #   url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8          #   username: root          #   password: password          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.system    # 配置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
 |