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 -10
View File
@@ -7,17 +7,13 @@ Prometheus:
Port: 4001
Path: /metrics
# k8s://juwan/<service name>:8080
# ===== PROC CONFIG =====
#ShopRpcConf:
# Target: k8s://juwan/shop-rpc-svc.juwan:8080
# ===== DEV CONFIG ====
ShopRpcConf:
Endpoints:
- shop-rpc:8080
- "${SHOP_RPC_TARGET}"
PlayerRpcConf:
Endpoints:
- player-rpc:8080
- "${PLAYER_RPC_TARGET}"
Log:
Level: debug