mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
架构升级第一步和测试环境配置
This commit is contained in:
@@ -3,12 +3,12 @@ spring.redis.database=1
|
|||||||
#spring.redis.host=127.0.0.1
|
#spring.redis.host=127.0.0.1
|
||||||
#spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
#spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
||||||
#spring.redis.port=6379
|
#spring.redis.port=6379
|
||||||
spring.redis.host=124.70.92.162
|
spring.redis.host=192.168.0.101
|
||||||
spring.redis.password=qwert!W577
|
spring.redis.password=boe@123
|
||||||
spring.redis.port=6379
|
spring.redis.port=6379
|
||||||
|
|
||||||
# cloud nacos config
|
# cloud nacos config
|
||||||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848
|
spring.cloud.nacos.discovery.server-addr=192.168.0.101:8848
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
spring.jpa.show-sql = true
|
spring.jpa.show-sql = true
|
||||||
@@ -18,9 +18,9 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
|||||||
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
#spring.datasource.username=root
|
#spring.datasource.username=root
|
||||||
#spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
#spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
||||||
spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.url=jdbc:mysql://192.168.0.101:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.username=admin
|
spring.datasource.username=root
|
||||||
spring.datasource.password=boeRds01
|
spring.datasource.password=boe#1234A
|
||||||
|
|
||||||
logging.level.org.hibernate.SQL=DEBUG
|
logging.level.org.hibernate.SQL=DEBUG
|
||||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
@@ -65,7 +65,7 @@ jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
|||||||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
||||||
|
|
||||||
# elasticsearch config
|
# elasticsearch config
|
||||||
xboe.elasticsearch.server.ip=127.0.0.1
|
xboe.elasticsearch.server.ip=192.168.0.101
|
||||||
xboe.elasticsearch.server.port=9200
|
xboe.elasticsearch.server.port=9200
|
||||||
xboe.elasticsearch.server.user=
|
xboe.elasticsearch.server.user=
|
||||||
xboe.elasticsearch.server.password=
|
xboe.elasticsearch.server.password=
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.6.3</version>
|
<version>2.6.13</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.xboe</groupId>
|
<groupId>com.xboe</groupId>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# redis
|
# redis
|
||||||
spring.redis.database=2
|
spring.redis.database=2
|
||||||
spring.redis.port=6379
|
spring.redis.port=6379
|
||||||
spring.redis.host=127.0.0.1
|
spring.redis.host=192.168.0.101
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
spring.redis.password=boe@123
|
||||||
|
|
||||||
|
|
||||||
# datasource config
|
# datasource config
|
||||||
@@ -16,18 +16,18 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
|||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
# 当前数据库 basic 对应的数据库
|
# 当前数据库 basic 对应的数据库
|
||||||
spring.datasource.db1.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.db1.driverClassName=com.mysql.jdbc.Driver
|
||||||
spring.datasource.db1.jdbc-url=jdbc:mysql://127.0.0.1:3306/boeu_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.0.101:3306/boe_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.db1.username=root
|
spring.datasource.db1.username=root
|
||||||
spring.datasource.db1.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
spring.datasource.db1.password=boe#1234A
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 主数据库 all 对应的数据库
|
# 主数据库 all 对应的数据库
|
||||||
spring.datasource.db2.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.db2.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.db2.jdbc-url=jdbc:mysql://127.0.0.1:3306/boe_base3?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.db2.jdbc-url=jdbc:mysql://192.168.0.101:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.db2.username=root
|
spring.datasource.db2.username=root
|
||||||
spring.datasource.db2.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
spring.datasource.db2.password=boe#1234A
|
||||||
|
|
||||||
|
|
||||||
logging.level.org.hibernate.SQL=DEBUG
|
logging.level.org.hibernate.SQL=DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user