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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
allow optionally change volume max count
Chris Luab4c9ac22104
diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex b9202d4d30..05db7a672e 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -9,11 +9,17 @@ case "$1" in'volume')ARGS="-dir=/data -max=0"+ if [[ $@ == *"-max="* ]]; then+ ARGS="-dir=/data"+ fiexec /usr/bin/weed $@ $ARGS;;'server')ARGS="-dir=/data -volume.max=0 -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ if [[ $@ == *"-volume.max="* ]]; then+ ARGS="-dir=/data -master.volumePreallocate -master.volumeSizeLimitMB=1024"+ fiexec /usr/bin/weed $@ $ARGS;;