lianshufeng 1 жил өмнө
parent
commit
9001bbf5aa

+ 6 - 4
angel/buildHelper/src/main/resources/application-dev.yml

@@ -1,12 +1,14 @@
+server:
+  port: 8888
 build:
   task:
     core-project: IT/MicroService
   git:
     type: Gogs
     core: MicroService
-    host: http://192.168.20.222:3000/
-    userName: stdc
+    host: http://47.109.128.105:3001/
+    userName: zswl
     passWord: CPMBf0Dq95SPxcKU
-    token: c07c442a10d159c37f4dee26d14fdd6e08e6fccc
+    token: e82317b982e0895218ad27f9d886ad1a67dcc393
   maven:
-    home: "D:/sdk/apache-maven-3.8.7"
+    home: "D:/sdk/apache-maven-3.6.3"

+ 1 - 1
angel/buildHelper/src/main/resources/application.yml

@@ -1,7 +1,7 @@
 #需要处理的环境
 spring:
   profiles:
-    active: local
+    active: ${spring.profiles.active}
   thymeleaf:
     suffix: .html
     mode: HTML

+ 7 - 6
centers/AuthCenter/AuthServer/src/main/resources/application-dev.yml

@@ -1,17 +1,18 @@
 spring:
   cloud:
-    inetutils:
-      preferred-networks:
-        - 192.168
+    consul:
+      discovery:
+        hostname: 172.24.50.53
+        prefer-ip-address: false
   data:
     mongodb:
-      uri: mongodb://auth:auth@192.168.31.132:27017,192.168.31.132:27018/auth
+      uri: mongodb://auth:auth@172.24.50.53:27017,172.24.50.53:27018,172.24.50.53:27019/auth
       auto-index-creation: true
     redis:
-      host: 192.168.31.132
+      host: 172.24.50.53
       port: 6379
       database: 2
-      password: redis_passwd_2024
+      password: 8756redis2024