values.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. app:
  2. name: shop-recycle-gateway-out
  3. replicaCount: 1
  4. image:
  5. repository: harbor.stardance/shoprecycle/shop-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.service-address}:${nacos.port}
  42. service: ${spring.application.name}
  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.service-address}:${nacos.port}
  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. nacos:
  90. service-address: nacos.bak.com
  91. port: 8848
  92. swagger:
  93. show: true
  94. isFilter: true
  95. swagger.enable: true
  96. is-reveal-error: true
  97. store:
  98. storeMap:
  99. 100002:
  100. storeId: 528
  101. md5: f2c2071cdd3c42a9ad74ecd847a5ee55
  102. code: xm
  103. 100003:
  104. storeId: 597
  105. md5: 3dc81e3f2c523fb5955761bbe2d150f2
  106. code: ygx
  107. 100004:
  108. storeId: 686
  109. md5: 20101fdf2db27d75c7431bedabe67e50
  110. code: lb
  111. sell:
  112. map:
  113. 100100:
  114. md5: daa28096f9e8879ab3a02b90aa0e2f83
  115. biz-map:
  116. chxBuildOrder:
  117. - 100002
  118. - 100003
  119. - 100004
  120. chxEnsureSell:
  121. - 100100
  122. mybatis-plus:
  123. mapper-locations: classpath:/mapper/*Mapper.xml
  124. global-config:
  125. id-type: 0
  126. field-strategy: 0
  127. db-column-underline: true
  128. logic-delete-value: 1
  129. logic-not-delete-value: 0
  130. configuration:
  131. map-underscore-to-camel-case: true
  132. cache-enabled: false
  133. jdbc-type-for-null: null
  134. podAnnotations: {}
  135. securityContext: {}
  136. nodeSelector: {}
  137. tolerations: []
  138. affinity: {}