From cf52a40224ee31b43ff85bb2e8104c81a47f94e5 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Tue, 9 Sep 2025 17:51:35 +0800 Subject: [PATCH] =?UTF-8?q?docs(stack.yml):=20=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E5=8F=82=E6=95=B0=E4=B8=BA=E5=A4=9A=E8=A1=8C?= =?UTF-8?q?=E7=BB=93=E6=9E=84=20style(env.cfg):=20=E4=B8=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=E6=B7=BB=E5=8A=A0=E4=B8=AD=E6=96=87=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rustfs/env.cfg | 14 +++++++------- rustfs/stack.yml | 8 +++++++- 2 files changed, 14 insertions(+), 8 deletions(-) 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