|
@@ -18,7 +18,7 @@ spring:
|
|
|
# 多久检查一次连接的活性
|
|
|
keepaliveTime: 30000
|
|
|
flyway:
|
|
|
- enabled: true
|
|
|
+ enabled: false
|
|
|
baseline-on-migrate: true
|
|
|
clean-on-validation-error: false
|
|
|
sql-migration-prefix: V
|
|
@@ -39,9 +39,9 @@ mybatis-flex:
|
|
|
type: ${spring.datasource.type}
|
|
|
# mysql数据库
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://localhost:3306/eco?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
|
|
|
+ url: jdbc:mysql://101.126.133.7:9006/digital?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
|
- password: P3x0LG8jzyHRX59l
|
|
|
+ password: 404cf3eae29df38f
|
|
|
# postgresql数据库
|
|
|
# driver-class-name: org.postgresql.Driver
|
|
|
# url: jdbc:postgresql://localhost:5432/eco?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
|
|
@@ -72,13 +72,13 @@ mybatis-flex:
|
|
|
spring.data:
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: localhost
|
|
|
+ host: 101.126.133.7
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码(如没有密码请注释掉)
|
|
|
- password: CWwYsGjafmv8Sr7g
|
|
|
+ password: Z;G4AS:Vor'YF#p?
|
|
|
# 连接超时时间
|
|
|
timeout: 10s
|
|
|
# 是否开启ssl
|
|
@@ -120,7 +120,7 @@ spring.boot.admin.client:
|
|
|
powerjob:
|
|
|
worker:
|
|
|
# 如何开启调度中心请查看文档教程 false true
|
|
|
- enabled: true
|
|
|
+ enabled: false
|
|
|
# 需要先在 powerjob 登录页执行应用注册后才能使用
|
|
|
app-name: eco-worker
|
|
|
# 28080 端口 随着主应用端口飘逸 避免集群冲突
|