From bf9dc5520e9aa5e8268f8f2c4b7632b9ecf956fc Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 21 一月 2025 13:36:00 +0800 Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/shasteel --- shasteel-biz/src/main/resources/application-dev.yaml | 14 ++++++++++++-- shasteel-biz/src/main/resources/application-test.yaml | 10 ++++++++++ shasteel-biz/src/main/resources/application-prod.yaml | 10 ++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/shasteel-biz/src/main/resources/application-dev.yaml b/shasteel-biz/src/main/resources/application-dev.yaml index 5415e33..080143f 100644 --- a/shasteel-biz/src/main/resources/application-dev.yaml +++ b/shasteel-biz/src/main/resources/application-dev.yaml @@ -35,7 +35,7 @@ primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:3306/iailab_fast_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://172.16.8.100:3306/iailab_fast_tenant_shasteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 username: root password: 123456 @@ -44,7 +44,17 @@ host: 127.0.0.1 # 地址 port: 6379 # 端口 database: 0 # 数据库索引 -# password: 123456 # 密码,建议生产环境开启 + password: 123456 # 密码,建议生产环境开启 + +--- #################### 监控相关配置 #################### + +# Actuator 监控端点的配置项 +management: + endpoints: + web: + base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator + exposure: + include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 --- #################### MQ 消息队列相关配置 #################### diff --git a/shasteel-biz/src/main/resources/application-prod.yaml b/shasteel-biz/src/main/resources/application-prod.yaml index 876dbec..bec697a 100644 --- a/shasteel-biz/src/main/resources/application-prod.yaml +++ b/shasteel-biz/src/main/resources/application-prod.yaml @@ -45,6 +45,16 @@ database: 8 password: 123456 +--- #################### 监控相关配置 #################### + +# Actuator 监控端点的配置项 +management: + endpoints: + web: + base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator + exposure: + include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 + --- #################### MQ #################### spring: diff --git a/shasteel-biz/src/main/resources/application-test.yaml b/shasteel-biz/src/main/resources/application-test.yaml index 1b8219d..9d651d4 100644 --- a/shasteel-biz/src/main/resources/application-test.yaml +++ b/shasteel-biz/src/main/resources/application-test.yaml @@ -60,6 +60,16 @@ database: 8 # 数据库索引 password: 123456 # 密码,建议生产环境开启 +--- #################### 监控相关配置 #################### + +# Actuator 监控端点的配置项 +management: + endpoints: + web: + base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator + exposure: + include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 + --- #################### 平台相关配置 #################### # 平台配置项,设置当前项目所有自定义的配置 -- Gitblit v1.9.3