34 lines
1.2 KiB
Properties
34 lines
1.2 KiB
Properties
# Http server port
|
|
server.port=7070
|
|
|
|
spring.profiles.active=@profiles.active@
|
|
spring.main.banner-mode=log
|
|
spring.jpa.open-in-view=false
|
|
spring.data.mongodb.repositories.type=none
|
|
logging.level.org.mongodb=warn
|
|
logging.level.tech.powerjob.server=warn
|
|
logging.level.MONITOR_LOGGER_DB_OPERATION=warn
|
|
logging.level.MONITOR_LOGGER_WORKER_HEART_BEAT=warn
|
|
logging.config: classpath:logback.xml
|
|
|
|
# Configuration for uploading files.
|
|
spring.servlet.multipart.enabled=true
|
|
spring.servlet.multipart.file-size-threshold=0
|
|
spring.servlet.multipart.max-file-size=209715200
|
|
spring.servlet.multipart.max-request-size=209715200
|
|
|
|
###### PowerJob transporter configuration ######
|
|
oms.transporter.active.protocols=AKKA,HTTP
|
|
oms.transporter.main.protocol=HTTP
|
|
oms.akka.port=10086
|
|
oms.http.port=10010
|
|
# Prefix for all tables. Default empty string. Config if you have needs, i.e. pj_
|
|
oms.table-prefix=pj_
|
|
|
|
# Actuator 监控端点的配置项
|
|
spring.application.name: Ruoyi-Powerjob-Server
|
|
management.endpoints.web.exposure.include=*
|
|
management.endpoint.health.show-details=ALWAYS
|
|
management.endpoint.logfile.external-file=./logs/ruoyi-powerjob-server.log
|
|
management.health.mongo.enabled=${oms.mongodb.enable}
|