docs(stack.yml): 格式化命令参数为多行结构

style(env.cfg): 为配置项添加中文注释
This commit is contained in:
cnphpbb
2025-09-09 17:51:35 +08:00
parent da28164a2c
commit cf52a40224
2 changed files with 14 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
IMAGE_TAG=rustfs/rustfs:alpha IMAGE_TAG=rustfs/rustfs:alpha # 最新版本
IMAGE_TAG_LTS=rustfs/rustfs:latest IMAGE_TAG_LTS=rustfs/rustfs:latest # 长期支持版本
Volumes_Path=/data/volumes/rustfs Volumes_Path=/data/volumes/rustfs # 数据卷路径
RUSTFS_SERVER_DOMAINS=rustfs.example.com RUSTFS_SERVER_DOMAINS=rustfs.example.com # 服务器域名
RUSTFS_CONSOLE_ENABLE=true RUSTFS_CONSOLE_ENABLE=true # 是否启用控制台
RUSTFS_SECRET_KEY=rustfsadmin RUSTFS_SECRET_KEY=rustfsadmin # 密钥
RUSTFS_ACCESS_KEY=rustfsadmin RUSTFS_ACCESS_KEY=rustfsadmin # 访问密钥

View File

@@ -12,4 +12,10 @@ services:
- '50900:7000' - '50900:7000'
container_name: rustfs_container container_name: rustfs_container
restart: always restart: always
command: '--address :7000 --console-enable --server-domains ${RUSTFS_SERVER_DOMAINS} --access-key ${RUSTFS_ACCESS_KEY} --secret-key ${RUSTFS_SECRET_KEY} /data' command: >
--address :7000
--console-enable
--server-domains ${RUSTFS_SERVER_DOMAINS}
--access-key ${RUSTFS_ACCESS_KEY}
--secret-key ${RUSTFS_SECRET_KEY}
/data