From d66edbeffee5e308504e48372a5bb4d04aa4e843 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 13:23:06 +0800
Subject: [PATCH] 租户套餐名称重复判定

---
 iailab-cloud/iailab-xxl-job/src/main/resources/application.yaml |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/iailab-cloud/iailab-xxl-job/src/main/resources/application.yaml b/iailab-cloud/iailab-xxl-job/src/main/resources/application.yaml
index f453523..7fa0abd 100644
--- a/iailab-cloud/iailab-xxl-job/src/main/resources/application.yaml
+++ b/iailab-cloud/iailab-xxl-job/src/main/resources/application.yaml
@@ -1,4 +1,42 @@
+server:
+  port: 9090
+  servlet:
+    context-path: /xxl-job-admin
+
+logging:
+  file:
+    name: @log.path@/logs/${spring.application.name}.log # 日志文件名,全路径
+
 spring:
+  application:
+    name: xxl-job-server
+  profiles:
+    # 环境配置
+#    active: @profiles.active@
+    active: @profiles.active@
+
+  cloud:
+    nacos:
+      server-addr: @nacos.server@ # Nacos 服务器地址
+      username: @nacos.username@
+      password: @nacos.password@
+      discovery: # 【配置中心】配置项
+        namespace: @profiles.active@  # 命名空间。这里使用 dev 开发环境
+        group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
+        metadata:
+          version: @nacos.metadata.version@ # 服务实例的版本号,可用于灰度发布
+          management.context-path: ${server.servlet.context-path}/actuator
+      config: # 【注册中心】配置项
+        namespace: @profiles.active@ # 命名空间。这里使用 dev 开发环境
+        group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
+
+    # Spring Boot Admin 配置项
+    boot:
+      admin:
+        # Spring Boot Admin Client 客户端的相关配置
+        client:
+          instance:
+            service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
   mvc:
     servlet:
       load-on-startup: 0
@@ -60,6 +98,11 @@
 
 # 服务端点检查
 management:
+  server:
+    base-path: /actuator
+  health:
+    mail:
+      enabled: false
   trace:
     http:
       enabled: true

--
Gitblit v1.9.3