values.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. app:
  2. name: shop-recycle-gateway-out
  3. replicaCount: 1
  4. image:
  5. repository: harbor.stardance/shoprecycle/shop-recycle-gateway-out
  6. tag: v2.0.0
  7. pullPolicy: IfNotPresent
  8. service:
  9. type: ClusterIP
  10. port: 1226
  11. targetPort: 1226
  12. resources:
  13. requests:
  14. cpu: 250m
  15. memory: 256Mi
  16. limits:
  17. cpu: 500m
  18. memory: 512Mi
  19. config:
  20. yml:
  21. server:
  22. port: 1226
  23. spring:
  24. application:
  25. name: shop-recycle-gateway-out
  26. datasource:
  27. type: com.zaxxer.hikari.HikariDataSource
  28. driver-class-name: com.mysql.cj.jdbc.Driver
  29. url: jdbc:mysql://rm-bp19t90t7u8n5b0fh.mysql.rds.aliyuncs.com:8668/shop_recycle_store?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=CTT&allowMultiQueries=true
  30. username: root
  31. password: Fxjxtdacf8f_a3d_202600104d6c_41
  32. hikari:
  33. connection-timeout: 30000
  34. maximum-pool-size: 10
  35. minimum-idle: 1
  36. main:
  37. allow-bean-definition-overriding: true
  38. cloud:
  39. nacos:
  40. discovery:
  41. server-addr: nacos.bak.com:8848
  42. service: shop-recycle-gateway-out
  43. weight: 1
  44. gateway:
  45. discovery:
  46. locator:
  47. lower-case-service-id: true
  48. routes:
  49. - id: 小程序-门店
  50. uri: lb://shop-recycle-store-wechat-web
  51. predicates:
  52. - Path=/store/wechat/**
  53. - id: 小程序-商户
  54. uri: lb://shop-recycle-merchant-wechat-web
  55. predicates:
  56. - Path=/merchant/wechat/**
  57. - id: 小程序-代卖
  58. uri: lb://shop-recycle-buy-wechat-web
  59. predicates:
  60. - Path=/buy/wechat/**
  61. - id: PC-平台
  62. uri: lb://shop-recycle-platform-pc-web
  63. predicates:
  64. - Path=/platform/pc/**
  65. - id: 测试
  66. uri: lb://shop-recycle-out-web
  67. predicates:
  68. - Path=/exterior/api/**
  69. sentinel:
  70. transport:
  71. port: 8005
  72. dashboard: localhost:8091
  73. datasource:
  74. flow:
  75. nacos:
  76. server-addr: nacos.bak.com:8848
  77. data-id: gateway-sentinel-flow
  78. data-type: json
  79. rule-type: flow
  80. redis:
  81. sentinel:
  82. master: mymaster
  83. nodes:
  84. - redis.jxfx1.com:27000
  85. - redis.jxfx2.com:27000
  86. - redis.jxfx3.com:27000
  87. password: 3sm_redis
  88. database: 15
  89. swagger:
  90. show: true
  91. isFilter: true
  92. swagger.enable: true
  93. is-reveal-error: true
  94. store:
  95. storeMap:
  96. 100002:
  97. storeId: 528
  98. md5: f2c2071cdd3c42a9ad74ecd847a5ee55
  99. code: xm
  100. 100003:
  101. storeId: 597
  102. md5: 3dc81e3f2c523fb5955761bbe2d150f2
  103. code: ygx
  104. 100004:
  105. storeId: 686
  106. md5: 20101fdf2db27d75c7431bedabe67e50
  107. code: lb
  108. sell:
  109. map:
  110. 100100:
  111. md5: daa28096f9e8879ab3a02b90aa0e2f83
  112. biz-map:
  113. chxBuildOrder:
  114. - 100002
  115. - 100003
  116. - 100004
  117. chxEnsureSell:
  118. - 100100
  119. mybatis-plus:
  120. mapper-locations: classpath:/mapper/*Mapper.xml
  121. global-config:
  122. id-type: 0
  123. field-strategy: 0
  124. db-column-underline: true
  125. logic-delete-value: 1
  126. logic-not-delete-value: 0
  127. configuration:
  128. map-underscore-to-camel-case: true
  129. cache-enabled: false
  130. jdbc-type-for-null: null
  131. podAnnotations: {}
  132. securityContext: {}
  133. nodeSelector: {}
  134. tolerations: []
  135. affinity: {}