| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- apiVersion: v1
- kind: ConfigMap
- metadata:
- name: shop-recycle-gateway-configmap
- namespace: production
- data:
- port: "1211"
- name: "shop-recycle-gateway"
- allow-bean-definition-overriding: "true"
- server-addr: "${nacos.service-address}:${nacos.port}"
- service: "${spring.application.name} # 褰撳墠鏈嶅姟鐨勫悕绉帮紝榛樿涓?${spring.application.name}"
- weight: "1 # 鏈嶅姟鐨勬潈閲嶏紝鍙栧€糩1, 100]锛岄粯璁や负1"
- gateway: "# 閰嶇疆gateway璺敱瑙勫垯"
- lower-case-service-id: "true"
- - id: "鐧诲綍涓績"
- uri: "lb://shop-recycle-login-center-web"
- - Path=/login-center/**: "lb://shop-recycle-login-center-web"
- - id: "PC-骞冲彴"
- uri: "lb://shop-recycle-platform-pc-web"
- - Path=/platform/pc/**: "lb://shop-recycle-platform-pc-web"
- - id: "灏忕▼搴?闂ㄥ簵"
- uri: "lb://shop-recycle-store-wechat-web"
- - Path=/store/wechat/**: "lb://shop-recycle-store-wechat-web"
- - id: "pc-闂ㄥ簵"
- uri: "lb://shop-recycle-store-pc-web"
- - Path=/store/pc/**: "lb://shop-recycle-store-pc-web"
- - id: "灏忕▼搴?鍟嗘埛"
- uri: "lb://shop-recycle-merchant-wechat-web"
- - Path=/merchant/wechat/**: "lb://shop-recycle-merchant-wechat-web"
- - id: "PC-鍟嗘埛"
- uri: "lb://shop-recycle-merchant-pc-web"
- - Path=/merchant/pc/**: "lb://shop-recycle-merchant-pc-web"
- - id: "鏂囦欢涓婁紶"
- uri: "lb://shop-recycle-oss-web"
- - Path=/upload/**: "lb://shop-recycle-oss-web"
- - id: "寰俊鎺ュ彛閰嶇疆"
- uri: "lb://shop-recycle-wechat-web"
- - Path=/wechat/**: "lb://shop-recycle-wechat-web"
- - id: "鏀粯鎺ュ彛閰嶇疆"
- uri: "lb://shop-recycle-payment-web"
- - Path=/payment/api/**: "lb://shop-recycle-payment-web"
- - id: "瀵艰〃鎺ュ彛閰嶇疆"
- uri: "lb://shop-recycle-import-web"
- - Path=/export/**: "lb://shop-recycle-import-web"
- - id: "PC-浠g悊"
- uri: "lb://shop-recycle-agent-pc-web"
- - Path=/agent/pc/**: "lb://shop-recycle-agent-pc-web"
- - id: "灏忕▼搴?C绔?"
- uri: "lb://shop-recycle-customer-web"
- - Path=/customer/wechat/**: "lb://shop-recycle-customer-web"
- - id: "PC-ERP"
- uri: "lb://shop-recycle-erp-pc-web"
- - Path=/erp/pc/**: "lb://shop-recycle-erp-pc-web"
- - id: "PC-浠e崠"
- uri: "lb://shop-recycle-buy-pc-web"
- - Path=/buy/pc/**: "lb://shop-recycle-buy-pc-web"
- - id: "灏忕▼搴?浠e崠"
- uri: "lb://shop-recycle-buy-wechat-web"
- - Path=/buy/wechat/**: "lb://shop-recycle-buy-wechat-web"
- - id: "PC-杩愯惀"
- uri: "lb://shop-recycle-marketer-pc-web"
- - Path=/marketer/pc/**: "lb://shop-recycle-marketer-pc-web"
- - id: "WS"
- uri: "lb://shop-recycle-ws-web"
- - Path=/ws/*: "lb://shop-recycle-ws-web"
- sentinel: "# 閰嶇疆gate鐨剆entinel娴佹帶瑙勫垯"
- port: "8005"
- dashboard: "localhost:8091"
- datasource: "# 鎸佷箙鍖杝entinel瑙勫垯"
- flow: "# 娴佹帶瑙勫垯鏁版嵁婧愰厤缃?"
- server-addr: "${nacos.service-address}:${nacos.port}"
- data-id: "gateway-sentinel-flow"
- data-type: "json"
- rule-type: "flow"
- master: "mymaster"
- - redis.jxfx1.com: "27000"
- - redis.jxfx2.com: "27000"
- - redis.jxfx3.com: "27000"
- database: "15"
- service-address: "nacos.bak.com"
- port: "8848"
- show: "false"
- isFilter: "true"
- isFilterDes3: "false"
- swagger.enable: "true"
- time: "60"
- is-reveal-error: "true"
|