From 934f428eaf1c833dc8ba6952eae9be3e7e1ac2a4 Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期三, 07 五月 2025 10:46:26 +0800
Subject: [PATCH] 新增Prod环境的配置文件

---
 aps-modules/aps-file/src/main/resources/bootstrap-prod.yml   |   17 +++++
 aps-modules/aps-system/src/main/resources/bootstrap-prod.yml |   17 +++++
 aps-auth/src/main/resources/bootstrap-prod.yml               |   18 ++++++
 aps-visual/aps-monitor/src/main/resources/bootstrap-prod.yml |   17 +++++
 aps-gateway/src/main/resources/bootstrap-prod.yml            |   34 +++++++++++
 aps-modules/aps-core/src/main/resources/bootstrap-prod.yml   |   17 +++++
 aps-modules/aps-job/src/main/resources/bootstrap-prod.yml    |   17 +++++
 7 files changed, 137 insertions(+), 0 deletions(-)

diff --git a/aps-auth/src/main/resources/bootstrap-prod.yml b/aps-auth/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..d8c041b
--- /dev/null
+++ b/aps-auth/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,18 @@
+# Spring
+spring:
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+        # 娉ㄥ唽Nacos鏃跺鍔犲厓鏁版嵁 鐢ㄤ簬GateWay杞彂
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+        namespace: prod
diff --git a/aps-gateway/src/main/resources/bootstrap-prod.yml b/aps-gateway/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..13a1121
--- /dev/null
+++ b/aps-gateway/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,34 @@
+
+# Spring
+spring:
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+        # 娉ㄥ唽Nacos鏃跺鍔犲厓鏁版嵁 鐢ㄤ簬GateWay杞彂
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+        namespace: prod
+    sentinel:
+      # 鍙栨秷鎺у埗鍙版噿鍔犺浇
+      eager: true
+      transport:
+        # 鎺у埗鍙板湴鍧�
+        dashboard: 192.168.12.239:8718
+      # nacos閰嶇疆鎸佷箙鍖�
+      datasource:
+        ds1:
+          nacos:
+            server-addr: 192.168.12.243:8850
+            dataId: sentinel-aps-gateway
+            groupId: DEFAULT_GROUP
+            data-type: json
+            rule-type: gw-flow
diff --git a/aps-modules/aps-core/src/main/resources/bootstrap-prod.yml b/aps-modules/aps-core/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..b205e1c
--- /dev/null
+++ b/aps-modules/aps-core/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,17 @@
+# Spring
+spring:
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        namespace: prod
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
diff --git a/aps-modules/aps-file/src/main/resources/bootstrap-prod.yml b/aps-modules/aps-file/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..b205e1c
--- /dev/null
+++ b/aps-modules/aps-file/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,17 @@
+# Spring
+spring:
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        namespace: prod
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
diff --git a/aps-modules/aps-job/src/main/resources/bootstrap-prod.yml b/aps-modules/aps-job/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..af976cd
--- /dev/null
+++ b/aps-modules/aps-job/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,17 @@
+# Spring
+spring: 
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        namespace: prod
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
diff --git a/aps-modules/aps-system/src/main/resources/bootstrap-prod.yml b/aps-modules/aps-system/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..fffeeaa
--- /dev/null
+++ b/aps-modules/aps-system/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,17 @@
+# Spring
+spring: 
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+        namespace: prod
diff --git a/aps-visual/aps-monitor/src/main/resources/bootstrap-prod.yml b/aps-visual/aps-monitor/src/main/resources/bootstrap-prod.yml
new file mode 100644
index 0000000..af976cd
--- /dev/null
+++ b/aps-visual/aps-monitor/src/main/resources/bootstrap-prod.yml
@@ -0,0 +1,17 @@
+# Spring
+spring: 
+  cloud:
+    nacos:
+      discovery:
+        # 鏈嶅姟娉ㄥ唽鍦板潃
+        server-addr: 192.168.12.243:8850
+        namespace: prod
+      config:
+        # 閰嶇疆涓績鍦板潃
+        server-addr: 192.168.12.243:8850
+        # 閰嶇疆鏂囦欢鏍煎紡
+        file-extension: yml
+        namespace: prod
+        # 鍏变韩閰嶇疆
+        shared-configs:
+          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}

--
Gitblit v1.9.3