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.

ensure non empty volume publicUrl

chrislusf3b1b955fc594
diff --git a/go/weed/volume.go b/go/weed/volume.go
index df3974c8c0..a733785817 100644
--- a/go/weed/volume.go
+++ b/go/weed/volume.go
@@ -98,6 +98,9 @@ func runVolume(cmd *Command, args []string) bool {
if *v.ip == "" {
*v.ip = "127.0.0.1"
}
+ if *v.publicUrl == "" {
+ *v.publicUrl = *v.ip + ":" + *v.port
+ }
if *v.adminPort == 0 {
*v.adminPort = *v.port