refactor: 启用 conf.UseEnv 并将 etc 配置统一为 env 占位

This commit is contained in:
zetaloop
2026-05-03 07:14:28 +08:00
parent 87bf86a410
commit 429a1df32a
45 changed files with 181 additions and 435 deletions
+6 -9
View File
@@ -7,16 +7,13 @@ Prometheus:
Port: 4001
Path: /metrics
# ===== PROC CONFIG =====
#CommunityRpcConf:
# Target: k8s://juwan/community-rpc-svc.juwan:8080
#UsercenterRpcConf:
# Target: k8s://juwan/users-rpc-svc.juwan:8080
# ===== DEV CONFIG =====
CommunityRpcConf:
Endpoints:
- community-rpc:8080
- "${COMMUNITY_RPC_TARGET}"
UsercenterRpcConf:
Endpoints:
- user-rpc:8080
- "${USER_RPC_TARGET}"
Log:
Level: debug