|
|
@@ -1,30 +1,30 @@
|
|
|
dubbo:
|
|
|
registry:
|
|
|
- address: zookeeper://192.168.0.210:2181
|
|
|
+ address: zookeeper://localhost:2181
|
|
|
spring:
|
|
|
cloud:
|
|
|
discovery:
|
|
|
enabled: true
|
|
|
zookeeper:
|
|
|
- connect-string: 192.168.0.210:2181
|
|
|
+ connect-string: localhost:2181
|
|
|
data:
|
|
|
mongodb:
|
|
|
- host: 192.168.0.210
|
|
|
- database: "tnb_content_tdb"
|
|
|
+ host: localhost
|
|
|
+ database: "tnb_content_rdb"
|
|
|
authentication-database: admin
|
|
|
- username: test
|
|
|
- password: Test@123456
|
|
|
+ username: dev
|
|
|
+ password: Dev@123456
|
|
|
redis:
|
|
|
database: 0
|
|
|
- host: 192.168.0.210
|
|
|
+ host: localhost
|
|
|
port: 6379
|
|
|
- password: Test@123456
|
|
|
+ password: Dev@123456
|
|
|
rabbitmq:
|
|
|
- host: 192.168.0.210
|
|
|
+ host: localhost
|
|
|
port: 5672
|
|
|
virtual-host: /
|
|
|
- username: test
|
|
|
- password: Test@123456
|
|
|
+ username: dev
|
|
|
+ password: Dev@123456
|
|
|
shardingsphere:
|
|
|
datasource:
|
|
|
names: master,slave
|
|
|
@@ -35,12 +35,12 @@ spring:
|
|
|
master:
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- jdbcUrl: jdbc:mysql://192.168.0.210/tnb_content_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
- username: test
|
|
|
- password: Test@123456
|
|
|
+ jdbcUrl: jdbc:mysql://localhost/tnb_content_rdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
+ username: dev
|
|
|
+ password: Dev@123456
|
|
|
slave:
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- jdbcUrl: jdbc:mysql://192.168.0.210/tnb_content_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
- username: test
|
|
|
- password: Test@123456
|
|
|
+ jdbcUrl: jdbc:mysql://localhost/tnb_content_rdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
|
|
|
+ username: dev
|
|
|
+ password: Dev@123456
|