spring.profiles.active=dev

server.port=9006
server.address=0.0.0.0

spring.datasource.host=localhost
spring.datasource.port=5432
spring.datasource.database=eldc1125important
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=123456
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=C:/tj_lydc/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=

# GDAL/PROJ 配置
# PROJ_LIB 路径（可选，如果不设置则自动查找）
# 例如：gdal.proj.lib=E:/Java/jdk1.8.0_201/bin
# 或者：gdal.proj.lib=E:/Java/jdk1.8.0_201/bin/share/proj
gdal.proj.lib=C:/Java/gdal/bin/proj9/share