Files
insigma-springboot-template/template/insiis-web/src/main/resources/application.properties

124 lines
4.0 KiB
Properties
Raw Normal View History

2024-07-28 11:01:33 +08:00
server.port=8083
server.servlet.session.cookie.name=JSESSIONID_${spring.application.name}
server.tomcat.max-http-form-post-size=-1
management.endpoints.web.exposure.include=health,info
# flyway
spring.flyway.enabled=false
spring.flyway.outOfOrder=true
spring.flyway.baselineOnMigrate=true
#时间格式设置
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
spring.jackson.default-property-inclusion=non_null
spring.mvc.format.date=yyyy-MM-dd HH:mm:ss
#配置文件传输
spring.servlet.multipart.enabled=true
spring.servlet.multipart.file-size-threshold=0
#单个文件的最大上限
spring.servlet.multipart.max-file-size=100MB
#单个请求的文件总大小上限
spring.servlet.multipart.max-request-size=1000MB
#配置排除
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration
# spring jpa
spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.OracleDialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.hibernate.use-new-id-generator-mappings=true
spring.main.allow-bean-definition-overriding=true
spring.main.allow-circular-references=true
spring.jta.enabled=false
# 用户默认密码
odin.sysconfigure.default-password=000000
# 启用业务实体类框架暂支持Oracle数据库
odin.busi.entity.enabled=false
# 操作日志页面还原数据保存至分布式文件存储服务
odin.saveOpLogInFs=false
# 是否将堆栈信息返回给前端
odin.stack.trace.enabled=false
# 是否使用Glog包
odin.useGlog=false
# 是否启用hash校验目前针对SysUser校验
sys.hash.enabled=false
# 热部署是否重启
spring.devtools.restart.enabled=false
# 是否启用三元制
sys.mode.triple=false
# 内置单点登录7c对接7c
odin.sso.app.id=402833298f98fbe8018f99a6ad010002
odin.sso.app.secret-key=46624EB0D698BFB7
odin.sso.auth-url=http://localhost:9100/
odin.sso.type=local
odin.sso.timeout=1
# 字典数据存储方式redis/h2不配置则直连数据库查询
odin.codetype.store=redis
odin.codetype.redis.timeout=1000
# 内置图片存储方式0数据库1文件存储
odin.image.store=0
seata.enabled=false
# 日志目录
logging.ext.log-home=./logs
# 业务领域00通用领域默认、01社会保障、02就业创业、03劳动关系、04人事人才、05社会保障卡
logging.ext.business-area=00
#xxljob
2024-07-28 11:36:08 +08:00
xxl.job.admin.addresses={{ .xxljob_address }}
2024-07-28 11:01:33 +08:00
xxl.job.executor.port=9999
xxl.job.executor.appname={{ .artifactId }}
xxl.job.executor.title={{ .artifactId }}
xxl.job.accessToken={{ .xxljob_accessToken }}
2024-07-28 11:36:08 +08:00
xxl.job.admin.username={{ .xxljob_username }}
xxl.job.admin.password={{ .xxljob_password }}
2024-07-28 11:01:33 +08:00
#redis
2024-07-28 11:36:08 +08:00
redis-config.pool.hostAndPort={{ .redis_address }}
redis-config.pool.password={{ .redis_password }}
2024-07-28 11:01:33 +08:00
redis-config.pool.maxTotal={{ .redis_maxTotal }}
redis-config.pool.maxIdle={{ .redis_maxIdle }}
redis-config.pool.minIdle={{ .redis_minIdle }}
redis-config.pool.maxWaitMillis=10000
redis-config.pool.softMinEvictableIdleTimeMillis=10000
redis-config.pool.testOnBorrow=true
redis-config.pool.testOnReturn=true
redis-config.pool.testWhileIdle=true
redis-config.pool.timeBetweenEvictionRunsMillis=30000
redis-config.pool.minEvictableIdleTimeMillis=1800000
redis-config.pool.numTestsPerEvictionRun=3
redis-config.pool.blockWhenExhausted=true
redis-config.pool.jmxEnabled=true
redis-config.pool.lifo=true
#rocketmq
2024-07-28 11:36:08 +08:00
rocketmq.name-server={{ .rocketmq_address }}
rocketmq.topic={{ .rocketmq_topic }}
2024-07-28 11:01:33 +08:00
rocketmq.consumerGroup={{ .rocketmq_consumerGroup }}
rocketmq.tag=*
rocketmq.producer.group={{ .rocketmq_producerGroup }}
#elasticsearch
2024-07-28 11:36:08 +08:00
essql.hosts={{ .elasticsearch_host }}
2024-07-28 11:01:33 +08:00
essql.port={{ .elasticsearch_port }}
2024-07-28 11:36:08 +08:00
essql.username={{ .elasticsearch_username }}
essql.password={{ .elasticsearch_password }}
essql.scheme={{ .elasticsearch_scheme }}
2024-07-28 11:01:33 +08:00
base.package=com.insigma;{{.groupId}}
cross.domain.headers=application-id