refactor: 启用 conf.UseEnv 并将 etc 配置统一为 env 占位
This commit is contained in:
@@ -7,19 +7,13 @@ Prometheus:
|
||||
Port: 4001
|
||||
Path: /metrics
|
||||
|
||||
# ===== PROC CONFIG =====
|
||||
#UsercenterRpcConf:
|
||||
# Target: k8s://juwan/user-rpc-svc:8080
|
||||
#UserVerificationRpc:
|
||||
# Target: k8s://juwan/user_verifications-svc:8080
|
||||
|
||||
# ===== DEV CONFIG ====
|
||||
UserVerificationRpc:
|
||||
Endpoints:
|
||||
- user-verifications-rpc:8080
|
||||
- "${USER_VERIFICATIONS_RPC_TARGET}"
|
||||
|
||||
UsercenterRpcConf:
|
||||
Endpoints:
|
||||
- user-rpc:8080
|
||||
- "${USER_RPC_TARGET}"
|
||||
|
||||
Log:
|
||||
Level: debug
|
||||
Level: debug
|
||||
|
||||
Reference in New Issue
Block a user