疯狂的狮子Li
2024-11-22 d194b39e57e3d6caf5d76749ab1618e524f479a9
ruoyi-admin/src/main/resources/application-dev.yml
@@ -2,11 +2,14 @@
spring.boot.admin.client:
  # 增加客户端开关
  enabled: true
  url: http://localhost:9090/admin
  url: http://localhost:9090
  instance:
    service-host-type: IP
  username: ruoyi
  password: 123456
    metadata:
      username: ${spring.boot.admin.client.username}
      userpassword: ${spring.boot.admin.client.password}
  username: @monitor.username@
  password: @monitor.password@
--- # snail-job 配置
snail-job:
@@ -22,6 +25,8 @@
  namespace: ${spring.profiles.active}
  # 随主应用端口飘逸
  port: 2${server.port}
  # 客户端ip指定
  host:
--- # 数据源配置
spring:
@@ -96,8 +101,8 @@
    port: 6379
    # 数据库索引
    database: 0
    # 密码(如没有密码请注释掉)
    # password:
    # redis 密码必须配置
    password: ruoyi123
    # 连接超时时间
    timeout: 10s
    # 是否开启ssl