applicationx3d.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. server:
  2. address: 192.168.4.194
  3. servlet: {context-path: /X3D-server}
  4. port: 9098
  5. error: {include-exception: true}
  6. compression: {enabled: false}
  7. tomcat: {max-connections: 1000, max-swallow-size: 1000MB, max-http-form-post-size: 3000MB}
  8. spring:
  9. application: {name: LINK-SERVER}
  10. servlet:
  11. multipart: {max-file-size: 3000MB, max-request-size: 3000MB, file-size-threshold: 10MB}
  12. jdbc:
  13. template: {query-timeout: 20s}
  14. jpa:
  15. hibernate: {ddl-auto: none}
  16. generate-ddl: false
  17. show-sql: false
  18. open-in-view: true
  19. properties:
  20. hibernate:
  21. event:
  22. merge: {entity_copy_observer: allow}
  23. jdbc: {batch_size: 1000, fetch_size: 1000}
  24. temp: {use_jdbc_metadata_defaults: false}
  25. dialect: org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
  26. jpa:
  27. properties:
  28. hibernate:
  29. jdbc: {batch_size: 1000}
  30. order_inserts: true
  31. database-platform: org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
  32. datasource:
  33. hikari: {driver-class-name: org.postgresql.Driver, username: postgres, password: lqkj007,
  34. auto-commit: true, pool-name: link, minimum-idle: 4, maximum-pool-size: 200,
  35. idle-timeout: 60000, max-lifetime: 1800000, connection-timeout: 30000, read-only: false}
  36. # url: jdbc:postgresql://192.168.4.241:5432/dev_link1.0-1
  37. url: jdbc:postgresql://192.168.4.241:5432/dev_x3d_1.0.0
  38. flyway: {baseline-on-migrate: true, enabled: true, validate-on-migrate: false}
  39. web:
  40. resources:
  41. cache:
  42. cachecontrol: {cache-public: true, max-age: 0s}
  43. chain: {cache: true, enabled: true}
  44. session:
  45. jdbc: {initialize-schema: never}
  46. main: {allow-bean-definition-overriding: true}
  47. logging:
  48. register-shutdown-hook: true
  49. level: {org.springframework.boot: info, org.ehcache.impl.internal.store.heap.OnHeapStore: error,
  50. org.apache.coyote.http11.Http11InputBuffer: debug, org.hibernate.SQL: debug, io.swagger.models.parameters.AbstractSerializableParameter: error}
  51. file: {name: ./log/link.log, path: 'classpath:log4j2.xml'}
  52. springdoc:
  53. api-docs: {enabled: true, path: /v3/api-docs}
  54. swagger-ui: {persist-authorization: true, path: /swagger-ui.html}
  55. # 阿里云
  56. aliyun:
  57. endpoint: https://oss-cn-chengdu.aliyuncs.com
  58. accessKeyId: LTAI5tLJsyF7YvFf48sC5yVL
  59. accessKeySecret: v48ceFlBuXhyeoduxOBFcEdeN4pL1G
  60. bucketName: link-meta
  61. osspath: https://oss-cn-chengdu.aliyuncs.com