feat: split all grpc and http endpoints

This commit is contained in:
2026-08-11 18:47:27 +08:00
parent 3ba0bafc37
commit 53e953c3fc
8 changed files with 435 additions and 31 deletions

View File

@@ -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