|
|
@@ -0,0 +1,56 @@
|
|
|
+app:
|
|
|
+ gatewayAdminUrl: http://192.168.0.181:16000
|
|
|
+dubbo:
|
|
|
+ application:
|
|
|
+ register-consumer: false
|
|
|
+ registry:
|
|
|
+ address: N/A
|
|
|
+server:
|
|
|
+ port: 6010
|
|
|
+spring:
|
|
|
+ mvc:
|
|
|
+ pathmatch:
|
|
|
+ matching-strategy: ant_path_matcher
|
|
|
+ cloud:
|
|
|
+ discovery:
|
|
|
+ enabled: true
|
|
|
+ nacos:
|
|
|
+ discovery:
|
|
|
+ server-addr: 192.168.0.209
|
|
|
+ username: nacos
|
|
|
+ password: Test_123456
|
|
|
+ datasource:
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ type: com.zaxxer.hikari.HikariDataSource
|
|
|
+ hikari:
|
|
|
+ minimum-idle: 5
|
|
|
+ maximum-pool-size: 10
|
|
|
+ auto-commit: true
|
|
|
+ idle-timeout: 30000
|
|
|
+ pool-name: EvaluationHikariCP
|
|
|
+ max-lifetime: 1800000
|
|
|
+ connection-timeout: 30000
|
|
|
+ connection-test-query: SELECT 1
|
|
|
+ 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
|
|
|
+ data:
|
|
|
+ mongodb:
|
|
|
+ uri: mongodb://test:Test_123456@192.168.0.209:27017/tnb_content_rdb?replicaSet=mymongo&authSource=admin&readPreference=secondaryPreferred&connectTimeoutMS=300000
|
|
|
+ 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
|
|
|
+mybatis:
|
|
|
+ configuration:
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+ mapper-locations: classpath*:mapper/**/**.xml
|
|
|
+ type-aliases-package: cn.reghao.tnb.admin.model.po
|