mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
25 lines
965 B
Properties
25 lines
965 B
Properties
oms.env=PRODUCT
|
||
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:3391/oms-product?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/oms
|
||
|
||
####### 邮件配置(启用邮件报警则需要) #######
|
||
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 |