月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-11-28 514705c874699fb016ca405961e50dcb15af2648
src/main/resources/application.yml
@@ -1,21 +1,25 @@
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 1000
  port: 12316
    max-connections: 5000
    max-http-form-post-size: 50MB
    threads:
      max: 2000
  port: 9000
  servlet:
    context-path: /server
    context-path: /MoonServer
spring:
  application:
    name: server
    name: MoonServer
  # redis
  redis:
    database: 0
    database: 1
    #host: 192.168.20.83
    host: 127.0.0.1
    port: 6369
    password: rediS_5L#F4_Server
    timeout: 90000  # 连接超时时长(毫秒)
    timeout: 10000  # 连接超时时长(毫秒)
    lettuce:
      pool:
        max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
@@ -42,12 +46,12 @@
  datasource:
    name: prod
    # JDBC 基本配置 &currentSchema=public
    #url: jdbc:postgresql://103.85.165.99:5433/langfang?useAffectedRows=true
    #url: jdbc:postgresql://192.168.20.205:5433/langfang?useAffectedRows=true
    url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true
    username : postgres
    #password: Postgres!_14_Lf
    password: postgres
    #url: jdbc:postgresql://127.0.0.1:5433/moon?useAffectedRows=true
    url: jdbc:postgresql://192.168.20.83:5433/moon?useAffectedRows=true
    #url: jdbc:postgresql://103.85.165.99:25432/moon?useAffectedRows=true
    username: postgres
    #password: postgres
    password: Postgres!_14_moon
    driver-class-name: org.postgresql.Driver
    platform: POSTGRESQL
    type: com.alibaba.druid.pool.DruidDataSource
@@ -67,8 +71,8 @@
      initial-size: 5
      min-idle: 5
      max-active: 100
      ## 配置获取连接等待超时的时间
      max-wait: 6000
      ## 配置获取连接等待超时的时间,ms
      max-wait: 60000
      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
      time-between-eviction-runs-millis: 60000
      # 配置一个连接在池中最小生存的时间,单位是毫秒
@@ -100,13 +104,8 @@
        deny:
# mybatis
#mybatis:
#  type-aliases-package: com.lf.server.entity
#  config-location: classpath:mybatis.xml
#  mapper-locations: classpath:mapper/**/*.xml
mybatis-plus:
  type-aliases-package: com.lf.server.entity
  type-aliases-package: com.moon.server.entity
  config-location: classpath:mybatis.xml
  mapper-locations: classpath:mapper/**/*.xml
@@ -114,33 +113,44 @@
logging:
  config: classpath:logback-spring.xml
# RestTemplate config
# restTemplate config
remote:
  maxTotalConnect: 0
  maxConnectPerRoute: 1000
  connectTimeout: 5000
  readTimeout: 1800000
  connectTimeout: 30000
  readTimeout: -1
# http://172.16.2.10:50001
shujian:
  ak: ak=mf72ff9295c740ec0f37e61433e8a3ad8d
  url1: http://219.153.49.10:7511
  url5: http://219.153.49.10:7511
  path: share/YQData/upload/
  domName: 自动发布影像图层组
  demName: 自动发布高程图层组
# 系统配置
sys:
  # 管理员ID
  admin: admin
  # IIS的主机地址
  iisHost: 127.0.0.1
  # FME服务地址
  #fmeUrl: http://103.85.165.99:8051/
  fmeUrl: http://192.168.20.205:88/
  fmeUrl: http://127.0.0.1:88/
  # 出图服务
  exportServer: http://127.0.0.1/ExportMap
  #exportServer: http://103.85.165.99:8050/ExportMap
  exportServer: http://127.0.0.1/MoonExp
  # Gdal驱动目录
  gdal_path: E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin
  # 瓦片地址
  tile_path: E:\data\99.public\soft\LFData\2d\tiles
  path:
    # 下载目录
    download: D:\LF\download
    download: D:\Moon\download
    # 上传目录
    upload: D:\LF\upload
    upload: D:\Moon\upload
    # 临时目录
    temp: D:\LF\temp
    temp: D:\Moon\temp
    # 坡度分析
    slopFile: D:\Moon\dtm\dtm100m_slope_moon2000.tif
  # 上传附件表
  attachTabs: bd.b_pac_hydrogeology,bd.b_pac_frozensoil,bd.b_pac_geologic_hazard,bd.b_pac_marine_meteorological,bd.b_pac_meteorological,bs.m_equipment_nameplate,bs.m_hydraulic_protection,bs.m_marker,bs.s_explorationpoint,bs.u_sectionline
  attachTabs: