mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
* refactor(config): Unify S3 API and Console ports This commit streamlines the server configuration by unifying the S3 API and the WebUI (Console) to serve on a single port. Previously, the console was managed by separate configuration options (`RUSTFS_CONSOLE_ENABLE` and `RUSTFS_CONSOLE_ADDRESS`), requiring a distinct port. This added complexity to deployment and configuration. With this change: - The `RUSTFS_CONSOLE_ADDRESS` and `RUSTFS_CONSOLE_FS_ENDPOINT` environment variables are removed. - The WebUI is now always available and served directly from the main application port defined by `RUSTFS_ADDRESS`. - This simplifies setup, reduces the number of exposed ports, and makes the application easier to manage and deploy, especially in containerized environments. Users should update their startup scripts and remove the deprecated `RUSTFS_CONSOLE_*` variables. * improve docker comprose config file and remove docs dir
22 lines
786 B
Bash
22 lines
786 B
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 :9000"
|
||
# RustFS 服务监听地址和端口
|
||
RUSTFS_ADDRESS=":9000"
|
||
# 是否启用 RustFS 控制台功能
|
||
RUSTFS_CONSOLE_ENABLE=true
|
||
# RustFS 服务域名配置
|
||
RUSTFS_SERVER_DOMAINS=127.0.0.1:9000
|
||
# RustFS 许可证内容
|
||
RUSTFS_LICENSE="license content"
|
||
# 可观测性配置Endpoint:http://localhost:4317
|
||
RUSTFS_OBS_ENDPOINT=http://localhost:4317
|
||
# TLS 证书目录路径:deploy/certs
|
||
RUSTFS_TLS_PATH=/etc/default/tls |