shop-recycle-gateway-out-configmap.yaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: shop-recycle-gateway-out-configmap
  5. namespace: production
  6. data:
  7. port: "1226"
  8. name: "shop-recycle-gateway-out"
  9. type: "com.zaxxer.hikari.HikariDataSource"
  10. driver-class-name: "com.mysql.cj.jdbc.Driver"
  11. url: "jdbc:mysql://rm-bp19t90t7u8n5b0fh.mysql.rds.aliyuncs.com:8668/shop_recycle_store?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=CTT&allowMultiQueries=true"
  12. connection-timeout: "30000"
  13. maximum-pool-size: "10"
  14. minimum-idle: "1"
  15. allow-bean-definition-overriding: "true"
  16. server-addr: "${nacos.service-address}:${nacos.port}"
  17. service: "${spring.application.name} # 褰撳墠鏈嶅姟鐨勫悕绉帮紝榛樿涓?${spring.application.name}"
  18. weight: "1 # 鏈嶅姟鐨勬潈閲嶏紝鍙栧€糩1, 100]锛岄粯璁や负1"
  19. gateway: "# 閰嶇疆gateway璺敱瑙勫垯"
  20. lower-case-service-id: "true"
  21. - id: "灏忕▼搴?闂ㄥ簵"
  22. uri: "lb://shop-recycle-store-wechat-web"
  23. - Path=/store/wechat/**: "lb://shop-recycle-store-wechat-web"
  24. - id: "灏忕▼搴?鍟嗘埛"
  25. uri: "lb://shop-recycle-merchant-wechat-web"
  26. - Path=/merchant/wechat/**: "lb://shop-recycle-merchant-wechat-web"
  27. - id: "灏忕▼搴?浠e崠"
  28. uri: "lb://shop-recycle-buy-wechat-web"
  29. - Path=/buy/wechat/**: "lb://shop-recycle-buy-wechat-web"
  30. - id: "PC-骞冲彴"
  31. uri: "lb://shop-recycle-platform-pc-web"
  32. - Path=/platform/pc/**: "lb://shop-recycle-platform-pc-web"
  33. - id: "娴嬭瘯"
  34. uri: "lb://shop-recycle-out-web"
  35. - Path=/exterior/api/**: "lb://shop-recycle-out-web"
  36. sentinel: "# 閰嶇疆gate鐨剆entinel娴佹帶瑙勫垯"
  37. port: "8005"
  38. dashboard: "localhost:8091"
  39. datasource: "# 鎸佷箙鍖杝entinel瑙勫垯"
  40. flow: "# 娴佹帶瑙勫垯鏁版嵁婧愰厤缃?"
  41. server-addr: "${nacos.service-address}:${nacos.port}"
  42. data-id: "gateway-sentinel-flow"
  43. data-type: "json"
  44. rule-type: "flow"
  45. master: "mymaster"
  46. - redis.jxfx1.com: "27000"
  47. - redis.jxfx2.com: "27000"
  48. - redis.jxfx3.com: "27000"
  49. database: "15"
  50. service-address: "nacos.bak.com"
  51. port: "8848"
  52. show: "true"
  53. isFilter: "true"
  54. swagger.enable: "true"
  55. is-reveal-error: "true"
  56. storeId: "528"
  57. md5: "f2c2071cdd3c42a9ad74ecd847a5ee55"
  58. code: "xm"
  59. storeId: "597"
  60. md5: "3dc81e3f2c523fb5955761bbe2d150f2"
  61. code: "ygx"
  62. storeId: "686"
  63. md5: "20101fdf2db27d75c7431bedabe67e50"
  64. code: "lb"
  65. md5: "daa28096f9e8879ab3a02b90aa0e2f83"
  66. - 100002: "daa28096f9e8879ab3a02b90aa0e2f83"
  67. - 100003: "daa28096f9e8879ab3a02b90aa0e2f83"
  68. - 100004: "daa28096f9e8879ab3a02b90aa0e2f83"
  69. - 100100: "daa28096f9e8879ab3a02b90aa0e2f83"
  70. mapper-locations: "classpath:/mapper/*Mapper.xml"
  71. id-type: "0"
  72. field-strategy: "0"
  73. db-column-underline: "true"
  74. logic-delete-value: "1"
  75. logic-not-delete-value: "0"
  76. map-underscore-to-camel-case: "true"
  77. cache-enabled: "false"