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
add docker compose file to sync 2 mounts
chrislu22fbce8fd503
diff --git a/docker/Makefile b/docker/Makefileindex a1e82a338e..1ace31933b 100644--- a/docker/Makefile+++ b/docker/Makefile@@ -58,6 +58,9 @@ cluster: build2clusters: builddocker-compose -f compose/local-clusters-compose.yml -p seaweedfs up+2mount: build+ docker-compose -f compose/local-sync-mount-compose.yml -p seaweedfs up+hashicorp_raft: builddocker-compose -f compose/local-hashicorp-raft-compose.yml -p seaweedfs updiff --git a/docker/compose/local-sync-mount-compose.yml b/docker/compose/local-sync-mount-compose.ymlnew file mode 100644index 0000000000..fec8666983--- /dev/null+++ b/docker/compose/local-sync-mount-compose.yml@@ -0,0 +1,21 @@+version: '3.9'+services:+ node1:+ image: chrislusf/seaweedfs:local+ command: "server -master -volume -filer"+ mount1:+ image: chrislusf/seaweedfs:local+ privileged: true+ command: "mount -filer=node1:8888 -dir=/mnt -dirAutoCreate"+ node2:+ image: chrislusf/seaweedfs:local+ ports:+ - 7888:8888+ command: "server -master -volume -filer"+ mount2:+ image: chrislusf/seaweedfs:local+ privileged: true+ command: "mount -filer=node2:8888 -dir=/mnt -dirAutoCreate"+ sync:+ image: chrislusf/seaweedfs:local+ command: "-v=4 filer.sync -a=node1:8888 -b=node2:8888 -a.debug -b.debug"