mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
31 lines
1.1 KiB
Properties
31 lines
1.1 KiB
Properties
oms.env=PRE
|
||
logging.config=classpath:logback-product.xml
|
||
|
||
####### 数据库配置 #######
|
||
spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
|
||
spring.datasource.core.jdbc-url=jdbc:mysql://remotehost:3306/powerjob-pre?useUnicode=true&characterEncoding=UTF-8
|
||
spring.datasource.core.username=root
|
||
spring.datasource.core.password=No1Bug2Please3!
|
||
spring.datasource.core.hikari.maximum-pool-size=20
|
||
spring.datasource.core.hikari.minimum-idle=5
|
||
|
||
####### mongoDB配置,非核心依赖,可移除 #######
|
||
spring.data.mongodb.uri=mongodb://remotehost:27017/powerjob-pre
|
||
|
||
####### 邮件配置(启用邮件报警则需要) #######
|
||
spring.mail.host=smtp.qq.com
|
||
spring.mail.username=zqq
|
||
spring.mail.password=qqz
|
||
spring.mail.properties.mail.smtp.auth=true
|
||
spring.mail.properties.mail.smtp.starttls.enable=true
|
||
spring.mail.properties.mail.smtp.starttls.required=true
|
||
|
||
####### 资源清理配置 #######
|
||
oms.log.retention.local=3
|
||
oms.log.retention.remote=3
|
||
oms.container.retention.local=3
|
||
oms.container.retention.remote=-1
|
||
oms.instanceinfo.retention=3
|
||
|
||
####### 缓存配置 #######
|
||
oms.instance.metadata.cache.size=1024 |