From a320847eec9db3f755624a0eae1dd0df13a91eae Mon Sep 17 00:00:00 2001 From: Hauser Zhi Date: Fri, 6 Nov 2026 23:09:12 +0800 Subject: [PATCH] docs(docker): fix Compose environment quoting in all locales Use environment mapping syntax so addresses and the log directory do not contain literal shell quotes. Align the service bind mounts with the permissions initializer across de, en, fr, ja, and zh. Co-Authored-By: heihutu Co-Authored-By: zhi22915 --- content/de/installation/container/docker.md | 14 +++++++------- content/en/installation/container/docker.md | 14 +++++++------- content/fr/installation/container/docker.md | 14 +++++++------- content/ja/installation/container/docker.md | 14 +++++++------- content/zh/installation/container/docker.md | 14 +++++++------- 5 files changed, 35 insertions(+), 35 deletions(-) diff --git a/content/de/installation/container/docker.md b/content/de/installation/container/docker.md index 265bc2ea..5add5dd8 100644 --- a/content/de/installation/container/docker.md +++ b/content/de/installation/container/docker.md @@ -122,14 +122,14 @@ Die Compose-Datei verwendet einen Initialisierungscontainer, der `rustfs` die ri rustfs_perms: condition: service_completed_successfully volumes: - - /path/to_host_directory/volumes/data:/data - - /path/to_host_directory/volumes/logs:/var/log/rustfs/ + - /path/to/host_directory/volumes/data:/data + - /path/to/host_directory/volumes/logs:/var/log/rustfs/ environment: - - RUSTFS_ADDRESS=":9000" - - RUSTFS_CONSOLE_ADDRESS=":9001" - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_OBS_LOGGER_LEVEL=error - - RUSTFS_OBS_LOG_DIRECTORY="/var/log/rustfs/" + RUSTFS_ADDRESS: ":9000" + RUSTFS_CONSOLE_ADDRESS: ":9001" + RUSTFS_CONSOLE_ENABLE: "true" + RUSTFS_OBS_LOGGER_LEVEL: error + RUSTFS_OBS_LOG_DIRECTORY: "/var/log/rustfs/" # ... other configurations ``` diff --git a/content/en/installation/container/docker.md b/content/en/installation/container/docker.md index d9dd1a0c..aa6643cf 100644 --- a/content/en/installation/container/docker.md +++ b/content/en/installation/container/docker.md @@ -122,14 +122,14 @@ The compose file uses an initialization container to grant the correct access ri rustfs_perms: condition: service_completed_successfully volumes: - - /path/to_host_directory/volumes/data:/data - - /path/to_host_directory/volumes/logs:/var/log/rustfs/ + - /path/to/host_directory/volumes/data:/data + - /path/to/host_directory/volumes/logs:/var/log/rustfs/ environment: - - RUSTFS_ADDRESS=":9000" - - RUSTFS_CONSOLE_ADDRESS=":9001" - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_OBS_LOGGER_LEVEL=error - - RUSTFS_OBS_LOG_DIRECTORY="/var/log/rustfs/" + RUSTFS_ADDRESS: ":9000" + RUSTFS_CONSOLE_ADDRESS: ":9001" + RUSTFS_CONSOLE_ENABLE: "true" + RUSTFS_OBS_LOGGER_LEVEL: error + RUSTFS_OBS_LOG_DIRECTORY: "/var/log/rustfs/" # ... other configurations ``` diff --git a/content/fr/installation/container/docker.md b/content/fr/installation/container/docker.md index 7d6ca839..4de7cd68 100644 --- a/content/fr/installation/container/docker.md +++ b/content/fr/installation/container/docker.md @@ -122,14 +122,14 @@ Le fichier Compose utilise un conteneur d’initialisation pour accorder les dro rustfs_perms: condition: service_completed_successfully volumes: - - /path/to_host_directory/volumes/data:/data - - /path/to_host_directory/volumes/logs:/var/log/rustfs/ + - /path/to/host_directory/volumes/data:/data + - /path/to/host_directory/volumes/logs:/var/log/rustfs/ environment: - - RUSTFS_ADDRESS=":9000" - - RUSTFS_CONSOLE_ADDRESS=":9001" - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_OBS_LOGGER_LEVEL=error - - RUSTFS_OBS_LOG_DIRECTORY="/var/log/rustfs/" + RUSTFS_ADDRESS: ":9000" + RUSTFS_CONSOLE_ADDRESS: ":9001" + RUSTFS_CONSOLE_ENABLE: "true" + RUSTFS_OBS_LOGGER_LEVEL: error + RUSTFS_OBS_LOG_DIRECTORY: "/var/log/rustfs/" # ... other configurations ``` diff --git a/content/ja/installation/container/docker.md b/content/ja/installation/container/docker.md index 82d5715f..9fdabae0 100644 --- a/content/ja/installation/container/docker.md +++ b/content/ja/installation/container/docker.md @@ -122,14 +122,14 @@ compose ファイルは、初期化コンテナで `rustfs` に正しいアク rustfs_perms: condition: service_completed_successfully volumes: - - /path/to_host_directory/volumes/data:/data - - /path/to_host_directory/volumes/logs:/var/log/rustfs/ + - /path/to/host_directory/volumes/data:/data + - /path/to/host_directory/volumes/logs:/var/log/rustfs/ environment: - - RUSTFS_ADDRESS=":9000" - - RUSTFS_CONSOLE_ADDRESS=":9001" - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_OBS_LOGGER_LEVEL=error - - RUSTFS_OBS_LOG_DIRECTORY="/var/log/rustfs/" + RUSTFS_ADDRESS: ":9000" + RUSTFS_CONSOLE_ADDRESS: ":9001" + RUSTFS_CONSOLE_ENABLE: "true" + RUSTFS_OBS_LOGGER_LEVEL: error + RUSTFS_OBS_LOG_DIRECTORY: "/var/log/rustfs/" # ... other configurations ``` diff --git a/content/zh/installation/container/docker.md b/content/zh/installation/container/docker.md index 2f76ff94..3798d91d 100644 --- a/content/zh/installation/container/docker.md +++ b/content/zh/installation/container/docker.md @@ -122,14 +122,14 @@ compose 文件使用初始化容器为 `rustfs` 授予正确的访问权限: rustfs_perms: condition: service_completed_successfully volumes: - - /path/to_host_directory/volumes/data:/data - - /path/to_host_directory/volumes/logs:/var/log/rustfs/ + - /path/to/host_directory/volumes/data:/data + - /path/to/host_directory/volumes/logs:/var/log/rustfs/ environment: - - RUSTFS_ADDRESS=":9000" - - RUSTFS_CONSOLE_ADDRESS=":9001" - - RUSTFS_CONSOLE_ENABLE=true - - RUSTFS_OBS_LOGGER_LEVEL=error - - RUSTFS_OBS_LOG_DIRECTORY="/var/log/rustfs/" + RUSTFS_ADDRESS: ":9000" + RUSTFS_CONSOLE_ADDRESS: ":9001" + RUSTFS_CONSOLE_ENABLE: "true" + RUSTFS_OBS_LOGGER_LEVEL: error + RUSTFS_OBS_LOG_DIRECTORY: "/var/log/rustfs/" # ... other configurations ```