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
+2 -14
View File
@@ -7,21 +7,9 @@ Prometheus:
Port: 4001
Path: /metrics
# ===== PROC CONF =====
#FileRpcConf:
# Target: k8s://juwan/objectstory-rpc-svc:8080
#
#Log:
# Level: info
# ===== DEV CONF =====
FileRpcConf:
Endpoints:
- objectstory-rpc:8080
- "${OBJECTSTORY_RPC_TARGET}"
Log:
Level: debug
# k8s://juwan/<service name>:8080
Level: debug