liding
6 天以前 26edb25801f8073d33a03e150c734f355ecea121
基础配置更改
已修改1个文件
29 ■■■■ 文件已修改
ruoyi-admin/src/main/resources/application.yml.example 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/resources/application.yml.example
@@ -16,7 +16,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8081
  port: 7016
  servlet:
    # 应用的访问路径
    context-path: /
@@ -52,7 +52,7 @@
    # 国际化资源文件路径
    basename: i18n/messages
  profiles:
    active: druid
    active: docker
  # 文件上传
  servlet:
    multipart:
@@ -65,34 +65,13 @@
    restart:
      # 热部署开关
      enabled: false
  data:
    # redis 配置
    redis:
      # 地址
      host: lunor.cn
      # 端口,默认为6379
      port: 6380
      # 数据库索引
      database: 0
      # 密码
      password: 123456
      # 连接超时时间
      timeout: 10s
      lettuce:
        pool:
          # 连接池中的最小空闲连接
          min-idle: 0
          # 连接池中的最大空闲连接
          max-idle: 8
          # 连接池的最大数据库连接数
          max-active: 8
          # #连接池最大阻塞等待时间(使用负值表示没有限制)
          max-wait: -1ms
  flyway:
    enabled: true
    baseline-on-migrate: true
    baseline-version: 20230720000000
    clean-disabled: true
    out-of-order: true
    #指定sql文件路径
    locations:
      - classpath:db/migration/postgresql