Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

set iam ip from filer

Konstantin Lebedev105bcfdbd473
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 96150deb33..13a3dfbc51 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -103,7 +103,7 @@ func init() {
// start iam on filer
filerStartIam = cmdFiler.Flag.Bool("iam", false, "whether to start IAM service")
- filerIamOptions.ip = f.ip
+ filerIamOptions.ip = cmdIam.Flag.String("iam.ip", *f.ip, "iam server http listen ip address")
filerIamOptions.port = cmdFiler.Flag.Int("iam.port", 8111, "iam server http listen port")
}