mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
dd7da015e3
* init rustfs config * improve code for rustfs-config crate * add * improve code for comment * fix: modify rustfs-config crate name * add default fn * improve error logger * fix: modify docker config yaml * improve code for config * feat: restrict kafka feature to Linux only - Add target-specific feature configuration in Cargo.toml for obs and event-notifier crates - Implement conditional compilation for kafka feature only on Linux systems - Add appropriate error handling for non-Linux platforms - Ensure backward compatibility with existing code * refactor(ci): optimize build workflow for better efficiency - Integrate GUI build steps into main build-rustfs job - Add conditional GUI build execution based on tag releases - Simplify workflow by removing redundant build-rustfs-gui job - Copy binary directly to embedded-rustfs directory without downloading artifacts - Update merge job dependency to only rely on build-rustfs - Improve cross-platform compatibility for Windows binary naming (.exe) - Streamline artifact uploading and OSS publishing process - Maintain consistent conditional logic for release operations * refactor(ci): optimize build workflow for better efficiency - Integrate GUI build steps into main build-rustfs job - Add conditional GUI build execution based on tag releases - Simplify workflow by removing redundant build-rustfs-gui job - Copy binary directly to embedded-rustfs directory without downloading artifacts - Update merge job dependency to only rely on build-rustfs - Improve cross-platform compatibility for Windows binary naming (.exe) - Streamline artifact uploading and OSS publishing process - Maintain consistent conditional logic for release operations * fix(ci): add repo-token to setup-protoc action for authentication - Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action - Ensure proper authentication for Protoc installation in CI workflow - Maintain consistent setup across different CI environments * modify config * improve readme.md * remove env config relation * add allow(dead_code)
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# RustFS 管理员用户名
|
|
RUSTFS_ROOT_USER=rustfsadmin
|
|
# RustFS 管理员密码
|
|
RUSTFS_ROOT_PASSWORD=rustfsadmin
|
|
|
|
# 数据卷配置示例路径:deploy/data/rustfs.env
|
|
# RustFS 数据卷存储路径,支持多卷配置,vol1 到 vol4
|
|
RUSTFS_VOLUMES="./deploy/deploy/vol{1...4}"
|
|
# RustFS 服务启动参数,指定监听地址和端口
|
|
RUSTFS_OPTS="--address 0.0.0.0:9000"
|
|
# RustFS 服务监听地址和端口
|
|
RUSTFS_ADDRESS="0.0.0.0:9000"
|
|
# 是否启用 RustFS 控制台功能
|
|
RUSTFS_CONSOLE_ENABLE=true
|
|
# RustFS 控制台监听地址和端口
|
|
RUSTFS_CONSOLE_ADDRESS="0.0.0.0:9002"
|
|
# RustFS 服务端点地址,用于客户端访问
|
|
RUSTFS_SERVER_ENDPOINT="http://127.0.0.1:9000"
|
|
# RustFS 服务域名配置
|
|
RUSTFS_SERVER_DOMAINS=127.0.0.1:9002
|
|
# RustFS 许可证内容
|
|
RUSTFS_LICENSE="license content"
|
|
# 可观测性配置文件路径:deploy/config/obs.example.toml
|
|
RUSTFS_OBS_CONFIG=/etc/default/obs.toml
|
|
# TLS 证书目录路径:deploy/certs
|
|
RUSTFS_TLS_PATH=/etc/default/tls
|
|
# 事件通知配置文件路径:deploy/config/event.example.toml
|
|
RUSTFS_EVENT_CONFIG=/etc/default/event.toml |