月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-14 c26a7a536f9b5319185fc806c26ede612dca1fb4
src/main/resources/application.yml
@@ -1,21 +1,24 @@
server:
  tomcat:
    uri-encoding: UTF-8
    max-connections: 1000
  port: 10000
    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
    host: 192.168.20.83
    port: 6369
    password: rediS_5L#F4_Server
    timeout: 90000  # 连接超时时长(毫秒)
    timeout: 10000  # 连接超时时长(毫秒)
    lettuce:
      pool:
        max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
@@ -43,10 +46,10 @@
    name: prod
    # JDBC 基本配置 &currentSchema=public
    url: jdbc:postgresql://192.168.20.83:5433/moon?useAffectedRows=true
    #url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true
    #url: jdbc:postgresql://127.0.0.1:5433/moon?useAffectedRows=true
    username : postgres
    #password: Postgres!_14_Lf
    password: postgres
    password: Postgres!_14_moon
    #password: postgres
    driver-class-name: org.postgresql.Driver
    platform: POSTGRESQL
    type: com.alibaba.druid.pool.DruidDataSource
@@ -66,8 +69,8 @@
      initial-size: 5
      min-idle: 5
      max-active: 100
      ## 配置获取连接等待超时的时间
      max-wait: 6000
      ## 配置获取连接等待超时的时间,ms
      max-wait: 60000
      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
      time-between-eviction-runs-millis: 60000
      # 配置一个连接在池中最小生存的时间,单位是毫秒
@@ -117,15 +120,17 @@
remote:
  maxTotalConnect: 0
  maxConnectPerRoute: 1000
  connectTimeout: 5000
  readTimeout: 1800000
  connectTimeout: 30000
  readTimeout: -1
# 系统配置
sys:
  # 管理员ID
  admin: admin
  # IIS的主机地址
  iisHost: 127.0.0.1
  # FME服务地址
  fmeUrl: http://192.168.20.83:88/
  fmeUrl: http://192.168.20.205:88/
  # 出图服务
  exportServer: http://127.0.0.1/ExportMap
  #exportServer: http://192.168.20.83:80/ExportMap
@@ -141,4 +146,4 @@
    # 临时目录
    temp: D:\Moon\temp
  # 上传附件表
  attachTabs: bd.b_pac_hydrogeology,bs.u_sectionline
  attachTabs: