74 lines
2.3 KiB
Properties
74 lines
2.3 KiB
Properties
|
|
spring.profiles.active=dev
|
||
|
|
|
||
|
|
server.port=9001
|
||
|
|
server.address=0.0.0.0
|
||
|
|
|
||
|
|
spring.datasource.host=localhost
|
||
|
|
spring.datasource.port=5432
|
||
|
|
spring.datasource.database=tj_project
|
||
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||
|
|
spring.datasource.url=jdbc:postgresql://${spring.datasource.host}:${spring.datasource.port}/${spring.datasource.database}?useSSL=true&allowMultiQueries=true
|
||
|
|
spring.datasource.username=postgres
|
||
|
|
spring.datasource.password=503503
|
||
|
|
spring.datasource.hikari.minimum-idle=5
|
||
|
|
spring.datasource.hikari.idle-timeout=180000
|
||
|
|
spring.datasource.hikari.maximum-pool-size=30
|
||
|
|
spring.datasource.hikari.max-lifetime=1800000
|
||
|
|
spring.datasource.hikari.connection-timeout=30000
|
||
|
|
|
||
|
|
spring.redis.host=localhost
|
||
|
|
spring.redis.port=6379
|
||
|
|
#spring.redis.database=0
|
||
|
|
#spring.redis.password=redis
|
||
|
|
spring.redis.timeout=3000ms
|
||
|
|
|
||
|
|
pagehelper.helper-dialect=postgresql
|
||
|
|
pagehelper.reasonable=true
|
||
|
|
pagehelper.support-methods-arguments=true
|
||
|
|
|
||
|
|
spring.jmx.enabled=false
|
||
|
|
|
||
|
|
logging.level.cn.edu.whu.boot.*.mapper=debug
|
||
|
|
|
||
|
|
mybatis.mapper-locations=classpath:mapper/**/*.xml
|
||
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
||
|
|
|
||
|
|
static.file.path=E:/503/TJ_project/static
|
||
|
|
|
||
|
|
ApkFilePath=${static.file.path}/apk
|
||
|
|
photozippath=${static.file.path}/zip
|
||
|
|
spring.thymeleaf.prefix=classpath:/templates/
|
||
|
|
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,\
|
||
|
|
classpath:/public/,classpath:/templates/,file:///${ApkFilePath}
|
||
|
|
|
||
|
|
MediaPath=${static.file.path}/MediaFile
|
||
|
|
HistoryMediaPath=${static.file.path}/HistoryMediaFile
|
||
|
|
XmlFilePath=${static.file.path}/Xml
|
||
|
|
|
||
|
|
tpkx.ext=tpkx
|
||
|
|
|
||
|
|
tpk.root=${static.file.path}/tpk/
|
||
|
|
tpkx.root=${static.file.path}/tpkx/
|
||
|
|
|
||
|
|
static.url.prefix=/static
|
||
|
|
|
||
|
|
spring.servlet.multipart.max-file-size=500MB
|
||
|
|
spring.servlet.multipart.max-request-size=500MB
|
||
|
|
|
||
|
|
spring.cache.ehcache.config=classpath:config/ehcache.xml
|
||
|
|
|
||
|
|
# Session
|
||
|
|
spring.session.store-type=jdbc
|
||
|
|
spring.session.jdbc.initialize-schema=always
|
||
|
|
spring.session.timeout=1800s
|
||
|
|
|
||
|
|
# Email configuration
|
||
|
|
spring.mail.host=
|
||
|
|
spring.mail.username=
|
||
|
|
spring.mail.password=
|
||
|
|
spring.mail.properties.mail.smtp.auth=true
|
||
|
|
spring.mail.properties.mail.smtp.port=465
|
||
|
|
spring.mail.properties.mail.smtp.starttls.enable=true
|
||
|
|
spring.mail.properties.mail.smtp.starttls.required=true
|
||
|
|
spring.mail.properties.mail.smtp.ssl.enable=true
|
||
|
|
email.subject=
|