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.

use /data for filer

Chris Lu469afddc80ce
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 7a2b606236..660e51766c 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -29,7 +29,6 @@ case "$1" in
;;
'filer')
- exec mkdir /data/filerdb
ARGS="-ip `hostname -i` "
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
diff --git a/docker/filer.toml b/docker/filer.toml
index 5bf809cd82..566a447c56 100644
--- a/docker/filer.toml
+++ b/docker/filer.toml
@@ -1,3 +1,3 @@
[leveldb]
enabled = true
-dir = "/data/filerdb"
+dir = "/data"