server.port = 6801 ## 数据源配置 spring.datasource.url = jdbc:postgresql://118.24.27.47:5432/fire_point spring.datasource.userName = fire_manage spring.datasource.password = fire456 spring.datasource.driverClassName = org.postgresql.Driver server.tomcat.uri-encoding=UTF-8 # 关闭spring data 的redis仓库 spring.data.redis.repositories.enabled = false # jackson 配置 spring.jackson.serialization.write-date-keys-as-timestamps=false ## Hikari连接池设置 spring.datasource.hikari.auto-commit = true spring.datasource.hikari.maximum-pool-size = 100 spring.datasource.hikari.idle-timeout = 10000 spring.datasource.hikari.minimum-idle = 5 spring.datasource.hikari.validation-timeout = 3000 ## Spring Data JPA 配置 spring.jpa.database = POSTGRESQL spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect spring.jpa.show-sql = false # 指定 ddl mode (none, validate, create, create-drop, update) spring.jpa.hibernate.ddl-auto = update # 命名策略 spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy #spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQL95Dialect #spring.jpa.properties.hibernate.dialect = org.hibernate.spatial.dialect.postgis.PostgisDialect spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false ## Redis配置 12 spring.cache.type = redis spring.redis.database = 8 spring.redis.host = localhost spring.redis.port = 6379 #spring.redis.password=sdust2020 spring.redis.timeout = 10000 spring.redis.lettuce.pool.max-active = 100 spring.redis.lettuce.pool.max-wait = 10000 spring.redis.lettuce.pool.max-idle = 100 spring.redis.lettuce.pool.min-idle = 1 spring.redis.lettuce.shutdown-timeout = 0 ## Devtools配置 spring.devtools.livereload.enabled = true ## 多国语言配置 spring.messages.basename = i18n/messages spring.messages.encoding = UTF-8 # 上传文件配置 spring.servlet.multipart.enabled=true # 最大文件大小 spring.servlet.multipart.max-file-size = 100MB # 最大请求大小 spring.servlet.multipart.max-request-size = 100MB spring.main.allow-bean-definition-overriding = true # Geoserver服务器地址 my.GeoserverAdress = http://139.199.98.175:9080/geoserver/ # 文件服务器地址 my.FileServerAdress = http://139.199.98.175:4096/ my.FileServerAdminAdress = http://127.0.0.1:4096/ dfs.ip = 192.168.2.9 dfs.port = 4096 ## 自定义用户最大登录错误尝试次数 my.MaxLoginErrorCount = 5 ## 自定义用户登录错误间隔时间(分钟) my.LoginErrorIntervalTime = 60