bootstrap.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. server:
  2. port: 10081
  3. spring:
  4. application:
  5. name: sckw-ng-fleet
  6. profiles:
  7. # active: ${DEPLOY_MODE:dev}
  8. active: @profiles.active@
  9. main:
  10. allow-bean-definition-overriding: true
  11. allow-circular-references: true
  12. cloud:
  13. nacos:
  14. discovery:
  15. # 服务注册地址
  16. server-addr: 10.10.10.224:8848
  17. # 命名空间
  18. namespace: sckw-ng-service-platform
  19. # 共享配置
  20. group: sckw-ng-service-platform
  21. config:
  22. # 配置中心地址
  23. server-addr: 10.10.10.224:8848
  24. # 命名空间
  25. namespace: sckw-ng-service-platform
  26. # 共享配置
  27. group: sckw-ng-service-platform
  28. # 配置文件格式
  29. file-extension: yaml
  30. shared-configs:
  31. - data-id: sckw-common.yml
  32. group: sckw-ng-common
  33. refresh: true
  34. - data-id: amap-config.yml
  35. group: sckw-ng-service-platform
  36. refresh: true
  37. #可以读多个配置文件 需要在同一个命名空间下面可以是不同的组
  38. extension-configs:
  39. - dataId: sckw-common.yml
  40. group: sckw-ng-service-platform
  41. refresh: true
  42. mybatis-plus:
  43. configuration:
  44. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  45. logging:
  46. level:
  47. root: info
  48. com.sckw.payment: debug
  49. # SpringDoc OpenAPI 配置
  50. springdoc:
  51. swagger-ui:
  52. path: /swagger-ui.html
  53. tags-sorter: alpha
  54. operations-sorter: alpha
  55. api-docs:
  56. path: /v3/api-docs
  57. show-actuator: true
  58. cache:
  59. disabled: true