update 更新 admin client 与 actuator 配置到 环境配置文件
| | |
| | | subscriptionsPerConnection: 5 |
| | | # DNS监测时间间隔,单位:毫秒 |
| | | dnsMonitoringInterval: 5000 |
| | | |
| | | --- # 监控配置 |
| | | spring: |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | # 设置 Spring Boot Admin Server 地址 |
| | | url: http://localhost:9090/admin |
| | | instance: |
| | | 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 |
| | |
| | | subscriptionsPerConnection: 5 |
| | | # DNS监测时间间隔,单位:毫秒 |
| | | dnsMonitoringInterval: 5000 |
| | | |
| | | --- # 监控配置 |
| | | spring: |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | # 设置 Spring Boot Admin Server 地址 |
| | | url: http://172.30.0.90:9090/admin |
| | | instance: |
| | | prefer-ip: true # 注册实例时,优先使用 IP |
| | | username: ruoyi |
| | | password: 123456 |
| | | |
| | | # Actuator 监控端点的配置项 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | # Actuator 提供的 API 接口的根目录。默认为 /actuator |
| | | base-path: /actuator |
| | | exposure: |
| | | # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 |
| | | # 生产环境不建议放开所有 根据项目需求放开即可 |
| | | include: health,info |
| | | endpoint: |
| | | logfile: |
| | | external-file: ./logs/sys-console.log |
| | |
| | | tablePrefix: QRTZ_ |
| | | # sqlserver 启用 |
| | | # selectWithLockSQL: SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ? |
| | | |
| | | --- # 监控配置 |
| | | spring: |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | # 设置 Spring Boot Admin Server 地址 |
| | | url: http://localhost:9090/admin |
| | | instance: |
| | | 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 |