refactor: 启用 conf.UseEnv 并将 etc 配置统一为 env 占位
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user