diff --git a/rustfs/env.cfg b/rustfs/env.cfg index 25698f2..c0702f5 100644 --- a/rustfs/env.cfg +++ b/rustfs/env.cfg @@ -1,7 +1,7 @@ -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=rustfsadmin -RUSTFS_ACCESS_KEY=rustfsadmin \ No newline at end of file +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=rustfsadmin # 密钥 +RUSTFS_ACCESS_KEY=rustfsadmin # 访问密钥 \ No newline at end of file diff --git a/rustfs/stack.yml b/rustfs/stack.yml index 1458437..d79af36 100644 --- a/rustfs/stack.yml +++ b/rustfs/stack.yml @@ -12,4 +12,10 @@ services: - '50900:7000' container_name: rustfs_container 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