mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
reset
This commit is contained in:
parent
e311e7c500
commit
ca6b02d19f
@ -3,17 +3,28 @@ logging.config=classpath:logback-dev.xml
|
|||||||
|
|
||||||
####### 外部数据库配置(需要用户更改为自己的数据库配置) #######
|
####### 外部数据库配置(需要用户更改为自己的数据库配置) #######
|
||||||
spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/powerjob?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/powerjob-daily?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||||
spring.datasource.core.username=root
|
spring.datasource.core.username=root
|
||||||
spring.datasource.core.password=123456
|
spring.datasource.core.password=No1Bug2Please3!
|
||||||
spring.datasource.core.hikari.maximum-pool-size=20
|
spring.datasource.core.hikari.maximum-pool-size=20
|
||||||
spring.datasource.core.hikari.minimum-idle=5
|
spring.datasource.core.hikari.minimum-idle=5
|
||||||
|
|
||||||
####### mongoDB配置,非核心依赖,通过配置 oms.mongodb.enable=false 来关闭 #######
|
####### mongoDB配置,非核心依赖,通过配置 oms.mongodb.enable=false 来关闭 #######
|
||||||
oms.mongodb.enable=false
|
oms.mongodb.enable=true
|
||||||
spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
|
spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
|
||||||
|
|
||||||
|
####### 邮件配置(不需要邮件报警可以删除以下配置来避免报错) #######
|
||||||
|
spring.mail.host=smtp.163.com
|
||||||
|
spring.mail.username=zqq@163.com
|
||||||
|
spring.mail.password=GOFZPNARMVKCGONV
|
||||||
|
spring.mail.properties.mail.smtp.auth=true
|
||||||
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
||||||
|
spring.mail.properties.mail.smtp.starttls.required=true
|
||||||
|
|
||||||
|
####### 钉钉报警配置(不需要钉钉报警可以删除以下配置来避免报错) #######
|
||||||
|
oms.alarm.ding.app-key=dingauqwkvxxnqskknfv
|
||||||
|
oms.alarm.ding.app-secret=XWrEPdAZMPgJeFtHuL0LH73LRj-74umF2_0BFcoXMfvnX0pCQvt0rpb1JOJU_HLl
|
||||||
|
oms.alarm.ding.agent-id=847044348
|
||||||
|
|
||||||
####### 资源清理配置 #######
|
####### 资源清理配置 #######
|
||||||
oms.instanceinfo.retention=1
|
oms.instanceinfo.retention=1
|
||||||
@ -21,7 +32,4 @@ oms.container.retention.local=1
|
|||||||
oms.container.retention.remote=-1
|
oms.container.retention.remote=-1
|
||||||
|
|
||||||
####### 缓存配置 #######
|
####### 缓存配置 #######
|
||||||
oms.instance.metadata.cache.size=1024
|
oms.instance.metadata.cache.size=1024
|
||||||
|
|
||||||
####### 精确获取 server 的百分比,0~100,100代表每次 worker 获取 server 都会进行完整的探活流程,不存在脑裂问题,但有性能开销 #######
|
|
||||||
oms.accurate.select.server.percentage = 50
|
|
Loading…
x
Reference in New Issue
Block a user