Przeglądaj źródła

update application.yml

reghao 2 tygodni temu
rodzic
commit
24f27b647d

+ 0 - 44
admin/src/main/resources/application-cluster.yml

@@ -1,44 +0,0 @@
-dubbo:
-  registry:
-    group: dubbo
-    address: zookeeper://192.168.0.211:2181?backup=192.168.0.212:2181,192.168.0.213:2181
-spring:
-  cloud:
-    discovery:
-      enabled: true
-  data:
-    mongodb:
-      uri: mongodb://test:Test_123456@192.168.0.213:27017,192.168.0.214:27017,192.168.0.215:27017/tnb_content_rdb?replicaSet=mymongo&readPreference=secondaryPreferred&connectTimeoutMS=300000
-    redis:
-      database: 0
-      password: Test_123456
-      lettuce:
-        pool:
-          # 最大连接数
-          max-active: 20
-          # 连接池中获取连接时最大等待时间ms
-          max-wait: 300
-          # 最大空闲连接数
-          max-idle: 5
-          # 最小空闲连接数
-          min-idle: 1
-      sentinel:
-        master: mymaster
-        password: Test_123456
-        nodes:
-          - 192.168.0.214:26379
-          - 192.168.0.215:26379
-          - 192.168.0.216:26379
-  rabbitmq:
-    addresses: 192.168.0.211:5672,192.168.0.212:5672,192.168.0.213:5672
-    virtual-host: /
-    username: test
-    password: Test_123456
-  datasource:
-    url: jdbc:mysql://192.168.0.215:3306,192.168.0.216:3306/testdb?serverTimezone=GMT%2b8&useUnicode=true&characterEncoding=utf8
-    username: test
-    password: Test_123456
-eureka:
-  client:
-    service-url:
-      defaultZone: http://127.0.0.1:6060/eureka/

+ 0 - 44
admin/src/main/resources/application-dev0.yml

@@ -1,44 +0,0 @@
-dubbo:
-  registry:
-    address: N/A
-spring:
-  cloud:
-    discovery:
-      enabled: true
-    nacos:
-      discovery:
-        server-addr: 127.0.0.1:8848
-        username: nacos
-        password: Test_123456
-  data:
-    mongodb:
-      uri: mongodb://test:Test_123456@192.168.0.214:27017,192.168.0.215:27017,192.168.0.216:27017/tnb_content_rdb?replicaSet=mymongo&authSource=admin&readPreference=secondaryPreferred&connectTimeoutMS=300000
-    redis:
-      database: 0
-      password: Test_123456
-      lettuce:
-        pool:
-          # 最大连接数
-          max-active: 20
-          # 连接池中获取连接时最大等待时间ms
-          max-wait: 300
-          # 最大空闲连接数
-          max-idle: 5
-          # 最小空闲连接数
-          min-idle: 1
-      sentinel:
-        master: mymaster
-        password: Test_123456
-        nodes:
-          - 192.168.0.214:26379
-          - 192.168.0.215:26379
-          - 192.168.0.216:26379
-  rabbitmq:
-    addresses: 192.168.0.211:5672,192.168.0.212:5672,192.168.0.213:5672
-    virtual-host: /
-    username: test
-    password: Test_123456
-  datasource:
-    url: jdbc:mysql://192.168.0.215:3306,192.168.0.216:3306/testdb?serverTimezone=GMT%2b8&useUnicode=true&characterEncoding=utf8
-    username: test
-    password: Test_123456

+ 0 - 29
admin/src/main/resources/application-test.yml

@@ -1,29 +0,0 @@
-dubbo:
-  registry:
-    group: dubbo
-    address: zookeeper://192.168.0.209:2181
-spring:
-  cloud:
-    discovery:
-      enabled: true
-    nacos:
-      discovery:
-        server-addr: 192.168.0.209:8848
-        username: nacos
-        password: Test_123456
-  data:
-    redis:
-      database: 0
-      host: 192.168.0.209
-      port: 6379
-      password: Test_123456
-  rabbitmq:
-    host: 192.168.0.209
-    port: 5672
-    virtual-host: /
-    username: test
-    password: Test_123456
-  datasource:
-    url: jdbc:mysql://192.168.0.209:3306/tnb_account_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
-    username: test
-    password: Test_123456

+ 0 - 20
data/data-service/src/main/resources/application-test.yml

@@ -1,20 +0,0 @@
-spring:
-  cloud:
-    discovery:
-      enabled: true
-  data:
-    redis:
-      database: 0
-      host: 192.168.0.209
-      port: 6379
-      password: Test_123456
-  rabbitmq:
-    host: 192.168.0.209
-    port: 5672
-    virtual-host: /
-    username: test
-    password: Test_123456
-eureka:
-  client:
-    service-url:
-      defaultZone: http://192.168.0.210:6060/eureka/