Update README.md

This commit is contained in:
loverustfs
2025-03-01 21:54:35 +08:00
committed by GitHub
parent 94798f70d3
commit d136b09fc2

View File

@@ -29,4 +29,23 @@ Or use Docker:
2. Mkdir in this repos folder `./rustfs/static`
3. Compile RustFS
# Star RustFS
Add Env infomation:
```
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
export RUSTFS_VOLUMES="./target/volume/test"
export RUSTFS_ADDRESS="0.0.0.0:9000"
export RUSTFS_CONSOLE_ENABLE=true
export RUSTFS_CONSOLE_ADDRESS="0.0.0.0:9001"
export RUSTFS_SERVER_ENDPOINT="http://127.0.0.1:9000"
```
You need replace your real data folder:
```
./rustfs /data/rustfs
```