123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- server:
- address: 192.168.4.194
- servlet: {context-path: /X3D-server}
- port: 9098
- error: {include-exception: true}
- compression: {enabled: false}
- tomcat: {max-connections: 1000, max-swallow-size: 1000MB, max-http-form-post-size: 3000MB}
- spring:
- application: {name: LINK-SERVER}
- servlet:
- multipart: {max-file-size: 3000MB, max-request-size: 3000MB, file-size-threshold: 10MB}
- jdbc:
- template: {query-timeout: 20s}
- jpa:
- hibernate: {ddl-auto: none}
- generate-ddl: false
- show-sql: false
- open-in-view: true
- properties:
- hibernate:
- event:
- merge: {entity_copy_observer: allow}
- jdbc: {batch_size: 1000, fetch_size: 1000}
- temp: {use_jdbc_metadata_defaults: false}
- dialect: org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
- jpa:
- properties:
- hibernate:
- jdbc: {batch_size: 1000}
- order_inserts: true
- database-platform: org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
- datasource:
- hikari: {driver-class-name: org.postgresql.Driver, username: postgres, password: lqkj007,
- auto-commit: true, pool-name: link, minimum-idle: 4, maximum-pool-size: 200,
- idle-timeout: 60000, max-lifetime: 1800000, connection-timeout: 30000, read-only: false}
- # url: jdbc:postgresql://192.168.4.241:5432/dev_link1.0-1
- url: jdbc:postgresql://192.168.4.241:5432/dev_x3d_1.0.0
- flyway: {baseline-on-migrate: true, enabled: true, validate-on-migrate: false}
- web:
- resources:
- cache:
- cachecontrol: {cache-public: true, max-age: 0s}
- chain: {cache: true, enabled: true}
- session:
- jdbc: {initialize-schema: never}
- main: {allow-bean-definition-overriding: true}
- logging:
- register-shutdown-hook: true
- level: {org.springframework.boot: info, org.ehcache.impl.internal.store.heap.OnHeapStore: error,
- org.apache.coyote.http11.Http11InputBuffer: debug, org.hibernate.SQL: debug, io.swagger.models.parameters.AbstractSerializableParameter: error}
- file: {name: ./log/link.log, path: 'classpath:log4j2.xml'}
- springdoc:
- api-docs: {enabled: true, path: /v3/api-docs}
- swagger-ui: {persist-authorization: true, path: /swagger-ui.html}
- # 阿里云
- aliyun:
- endpoint: https://oss-cn-chengdu.aliyuncs.com
- accessKeyId: LTAI5tLJsyF7YvFf48sC5yVL
- accessKeySecret: v48ceFlBuXhyeoduxOBFcEdeN4pL1G
- bucketName: link-meta
- osspath: https://oss-cn-chengdu.aliyuncs.com
|