mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-15 04:52:09 +08:00
62 lines
2.1 KiB
Properties
62 lines
2.1 KiB
Properties
#spring.profiles.active=dev
|
|
#application
|
|
application.title=MaxKey
|
|
application.name=MaxKey-Mgt
|
|
application.formatted-version=v2.0.0 GA
|
|
#server config
|
|
#server port
|
|
server.port=9521
|
|
#web app context path
|
|
server.servlet.context-path=/maxkey-mgt
|
|
spring.servlet.multipart.enabled=true
|
|
spring.servlet.multipart.max-file-size=4194304
|
|
#server.servlet.encoding.charset.from=
|
|
#server.servlet.encoding.charset=
|
|
#server.servlet.encoding.enabled=
|
|
#server.servlet.encoding.force=
|
|
#datasource
|
|
spring.datasource.username=root
|
|
spring.datasource.password=maxkey
|
|
spring.datasource.url=jdbc:mysql://localhost/maxkey?autoReconnect=true&characterEncoding=UTF-8
|
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|
#mybatis
|
|
mybatis.type-aliases-package=org.maxkey.domain,org.maxkey.domain.apps,
|
|
mybatis.mapper-locations=classpath*:/org/maxkey/dao/persistence/xml/mysql/*.xml
|
|
#redis
|
|
spring.redis.host=127.0.0.1
|
|
spring.redis.port=6379
|
|
spring.redis.password=password
|
|
spring.redis.timeout=10000
|
|
spring.redis.jedis.pool.max-wait=1000
|
|
spring.redis.jedis.pool.max-idle=200
|
|
spring.redis.lettuce.pool.max-active=-1
|
|
spring.redis.lettuce.pool.min-idle=0
|
|
#mail
|
|
spring.mail.default-encoding=utf-8
|
|
spring.mail.host=smtp.163.com
|
|
spring.mail.port=465
|
|
spring.mail.username=maxkey@163.com
|
|
spring.mail.password=password
|
|
spring.mail.protocol=smtp
|
|
spring.mail.properties.ssl=true
|
|
spring.mail.properties.sender=maxkey@163.com
|
|
#freemarker
|
|
spring.freemarker.template-loader-path=classpath:/templates/views
|
|
spring.freemarker.cache=false
|
|
spring.freemarker.charset=UTF-8
|
|
spring.freemarker.check-template-location=true
|
|
spring.freemarker.content-type=text/html
|
|
spring.freemarker.expose-request-attributes=false
|
|
spring.freemarker.expose-session-attributes=false
|
|
spring.freemarker.request-context-attribute=request
|
|
spring.freemarker.suffix=.ftl
|
|
#spring.freemarker.settings.classic_compatible=true
|
|
|
|
#static resources
|
|
spring.mvc.static-path-pattern=/static/**
|
|
spring.messages.basename=classpath:messages/message
|
|
spring.messages.encoding=UTF-8
|
|
#main
|
|
spring.main.banner-mode=log
|
|
spring.main.allow-bean-definition-overriding=true |