shop-recycle-gateway-configmap.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: shop-recycle-gateway-configmap
  5. namespace: production
  6. data:
  7. port: "1211"
  8. name: "shop-recycle-gateway"
  9. allow-bean-definition-overriding: "true"
  10. server-addr: "${nacos.service-address}:${nacos.port}"
  11. service: "${spring.application.name} # 褰撳墠鏈嶅姟鐨勫悕绉帮紝榛樿涓?${spring.application.name}"
  12. weight: "1 # 鏈嶅姟鐨勬潈閲嶏紝鍙栧€糩1, 100]锛岄粯璁や负1"
  13. gateway: "# 閰嶇疆gateway璺敱瑙勫垯"
  14. lower-case-service-id: "true"
  15. - id: "鐧诲綍涓績"
  16. uri: "lb://shop-recycle-login-center-web"
  17. - Path=/login-center/**: "lb://shop-recycle-login-center-web"
  18. - id: "PC-骞冲彴"
  19. uri: "lb://shop-recycle-platform-pc-web"
  20. - Path=/platform/pc/**: "lb://shop-recycle-platform-pc-web"
  21. - id: "灏忕▼搴?闂ㄥ簵"
  22. uri: "lb://shop-recycle-store-wechat-web"
  23. - Path=/store/wechat/**: "lb://shop-recycle-store-wechat-web"
  24. - id: "pc-闂ㄥ簵"
  25. uri: "lb://shop-recycle-store-pc-web"
  26. - Path=/store/pc/**: "lb://shop-recycle-store-pc-web"
  27. - id: "灏忕▼搴?鍟嗘埛"
  28. uri: "lb://shop-recycle-merchant-wechat-web"
  29. - Path=/merchant/wechat/**: "lb://shop-recycle-merchant-wechat-web"
  30. - id: "PC-鍟嗘埛"
  31. uri: "lb://shop-recycle-merchant-pc-web"
  32. - Path=/merchant/pc/**: "lb://shop-recycle-merchant-pc-web"
  33. - id: "鏂囦欢涓婁紶"
  34. uri: "lb://shop-recycle-oss-web"
  35. - Path=/upload/**: "lb://shop-recycle-oss-web"
  36. - id: "寰俊鎺ュ彛閰嶇疆"
  37. uri: "lb://shop-recycle-wechat-web"
  38. - Path=/wechat/**: "lb://shop-recycle-wechat-web"
  39. - id: "鏀粯鎺ュ彛閰嶇疆"
  40. uri: "lb://shop-recycle-payment-web"
  41. - Path=/payment/api/**: "lb://shop-recycle-payment-web"
  42. - id: "瀵艰〃鎺ュ彛閰嶇疆"
  43. uri: "lb://shop-recycle-import-web"
  44. - Path=/export/**: "lb://shop-recycle-import-web"
  45. - id: "PC-浠g悊"
  46. uri: "lb://shop-recycle-agent-pc-web"
  47. - Path=/agent/pc/**: "lb://shop-recycle-agent-pc-web"
  48. - id: "灏忕▼搴?C绔?"
  49. uri: "lb://shop-recycle-customer-web"
  50. - Path=/customer/wechat/**: "lb://shop-recycle-customer-web"
  51. - id: "PC-ERP"
  52. uri: "lb://shop-recycle-erp-pc-web"
  53. - Path=/erp/pc/**: "lb://shop-recycle-erp-pc-web"
  54. - id: "PC-浠e崠"
  55. uri: "lb://shop-recycle-buy-pc-web"
  56. - Path=/buy/pc/**: "lb://shop-recycle-buy-pc-web"
  57. - id: "灏忕▼搴?浠e崠"
  58. uri: "lb://shop-recycle-buy-wechat-web"
  59. - Path=/buy/wechat/**: "lb://shop-recycle-buy-wechat-web"
  60. - id: "PC-杩愯惀"
  61. uri: "lb://shop-recycle-marketer-pc-web"
  62. - Path=/marketer/pc/**: "lb://shop-recycle-marketer-pc-web"
  63. - id: "WS"
  64. uri: "lb://shop-recycle-ws-web"
  65. - Path=/ws/*: "lb://shop-recycle-ws-web"
  66. sentinel: "# 閰嶇疆gate鐨剆entinel娴佹帶瑙勫垯"
  67. port: "8005"
  68. dashboard: "localhost:8091"
  69. datasource: "# 鎸佷箙鍖杝entinel瑙勫垯"
  70. flow: "# 娴佹帶瑙勫垯鏁版嵁婧愰厤缃?"
  71. server-addr: "${nacos.service-address}:${nacos.port}"
  72. data-id: "gateway-sentinel-flow"
  73. data-type: "json"
  74. rule-type: "flow"
  75. master: "mymaster"
  76. - redis.jxfx1.com: "27000"
  77. - redis.jxfx2.com: "27000"
  78. - redis.jxfx3.com: "27000"
  79. database: "15"
  80. service-address: "nacos.bak.com"
  81. port: "8848"
  82. show: "false"
  83. isFilter: "true"
  84. isFilterDes3: "false"
  85. swagger.enable: "true"
  86. time: "60"
  87. is-reveal-error: "true"