feat: split all grpc and http endpoints
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
Service: default
|
||||
BindIP: 0.0.0.0
|
||||
Port: 12000
|
||||
Server:
|
||||
GRPC:
|
||||
BindIP: 0.0.0.0
|
||||
Port: 12000
|
||||
HTTP:
|
||||
BindIP: 0.0.0.0
|
||||
Port: 12001
|
||||
|
||||
# Dynamic JSON-to-protobuf unary RPC endpoint: POST /rpc/{full.service}.{method}
|
||||
# An empty allow list denies every dynamic call. Use "*" to expose all
|
||||
# reflection-visible unary methods, or list full service/method names.
|
||||
DynamicRPC:
|
||||
Allow:
|
||||
- "*"
|
||||
|
||||
Databases:
|
||||
Driver: postgres
|
||||
@@ -38,7 +50,7 @@ Fts:
|
||||
AccessKeySecret: CHANGE_ME
|
||||
UseSSL: false
|
||||
Local:
|
||||
Site: http://127.0.0.1:12000/files
|
||||
Site: http://127.0.0.1:12001/files
|
||||
UploadDir: ./uploader/
|
||||
FtsConfig:
|
||||
InputKey: file
|
||||
|
||||
Reference in New Issue
Block a user