feat: docker mysql and redis
This commit is contained in:
+12
-1
@@ -10,7 +10,7 @@ Nacos:
|
||||
RegisterIP: bff
|
||||
|
||||
Response:
|
||||
IsDebug: true # true 不加密(同旧 base.is_debug);false 时 data 走 AES 加密
|
||||
IsDebug: true # true 不加密
|
||||
EncryptKey: "M17fcaPeHDr05H17fcaPH1deDH17l3Bd"
|
||||
|
||||
Upstreams:
|
||||
@@ -24,3 +24,14 @@ Upstreams:
|
||||
- Method: post
|
||||
Path: /admin/v3/product
|
||||
RpcPath: product.Product/Add
|
||||
|
||||
- Name: order
|
||||
Grpc:
|
||||
Target: order-service # 必须等于 order.yaml 的 Name
|
||||
Timeout: 5000
|
||||
ProtoSets:
|
||||
- etc/order.pb
|
||||
Mappings:
|
||||
- Method: post
|
||||
Path: /admin/v3/order/ping
|
||||
RpcPath: order.Order/Ping
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
˜
|
||||
order.protoorder"
|
||||
Request
|
||||
ping ( Rping"
|
||||
Response
|
||||
pong ( Rpong20
|
||||
Order'
|
||||
Ping.order.Request.order.ResponseB Z./orderbproto3
|
||||
Reference in New Issue
Block a user