chore: 为所有服务补全 env.cfg.example 模板

This commit is contained in:
2026-06-13 03:28:34 +08:00
parent 714da10139
commit 3c83adb661
34 changed files with 734 additions and 1 deletions

26
rustfs/env.cfg.example Normal file
View File

@@ -0,0 +1,26 @@
# ============================================================
# rustfs 部署 — 公共环境变量模板(不含敏感信息)
# 复制为 env.cfg 后填入真实值env.cfg 已被 .gitignore 忽略
# ============================================================
#
# 使用方式:
# cp env.cfg.example env.cfg
# $EDITOR env.cfg # 填入真实密码/密钥后保存
# docker compose -p rustfs --env-file ./env.cfg -f ./stack.yml up -d
#
# ============================================================
# ⚠️ 敏感值必填env.cfg 不提交)
# ============================================================
IMAGE_TAG=rustfs/rustfs:alpha # 最新版本
IMAGE_TAG_LTS=rustfs/rustfs:latest # 长期支持版本
Volumes_Path=/data/volumes/rustfs # 数据卷路径
RUSTFS_SERVER_DOMAINS=rustfs.example.com # 服务器域名
RUSTFS_CONSOLE_ENABLE=true # 是否启用控制台
RUSTFS_SECRET_KEY=<your-secret> # 密钥
RUSTFS_ACCESS_KEY=<your-access-key> # 访问密钥