疯狂的狮子li
2021-08-05 ffd3dc335f7e29aff310c9ad7a3f72272a4bc457
ruoyi-admin/src/main/resources/application-dev.yml
@@ -42,6 +42,10 @@
        testOnReturn: false
        # 注意这个值和druid原生不一致,默认启动了stat
        filters: stat
--- # druid 配置
spring:
  datasource:
    druid:
      webStatFilter:
        enabled: true
@@ -63,7 +67,9 @@
        wall:
          config:
            multi-statement-allow: true
  # redis 配置
--- # redis 配置
spring:
  redis:
    # 地址
    host: localhost
@@ -78,7 +84,6 @@
    # 是否开启ssl
    ssl: false
--- # redisson 客户端配置
redisson:
  # 线程池数量
  threads: 16
@@ -123,20 +128,6 @@
          prefer-ip: true # 注册实例时,优先使用 IP
        username: ruoyi
        password: 123456
# Actuator 监控端点的配置项
management:
  endpoints:
    web:
      # Actuator 提供的 API 接口的根目录。默认为 /actuator
      base-path: /actuator
      exposure:
        # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。
        # 生产环境不建议放开所有 根据项目需求放开即可
        include: '*'
  endpoint:
    logfile:
      external-file: ./logs/sys-console.log
--- # OSS 云存储(界面 <参数设置> 可切换)
cloud-storage: