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
build with pub sub clients for testing
Chris Luc471265837a9
diff --git a/.gitignore b/.gitignoreindex 9a8e5d112d..8fc65d3308 100644--- a/.gitignore+++ b/.gitignore@@ -91,4 +91,6 @@ weed/mq/client/cmd/weed_pub/weed_pubdocker/weed# test generated files-weed/*/*.jpg\ No newline at end of file+weed/*/*.jpg+docker/weed_sub+docker/weed_pubdiff --git a/docker/Dockerfile.local b/docker/Dockerfile.localindex 53cfd95715..b87c0d8e92 100644--- a/docker/Dockerfile.local+++ b/docker/Dockerfile.local@@ -1,6 +1,8 @@FROM alpine AS finalLABEL author="Chris Lu"COPY ./weed /usr/bin/+COPY ./weed_pub /usr/bin/+COPY ./weed_sub /usr/bin/RUN mkdir -p /etc/seaweedfsCOPY ./filer.toml /etc/seaweedfs/filer.tomlCOPY ./entrypoint.sh /entrypoint.shdiff --git a/docker/Makefile b/docker/Makefileindex 08cd8775ef..5f43fb95cb 100644--- a/docker/Makefile+++ b/docker/Makefile@@ -9,6 +9,8 @@ binary:export SWCOMMIT=$(shell git rev-parse --short HEAD)export SWLDFLAGS="-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=$(SWCOMMIT)"cd ../weed && CGO_ENABLED=$(cgo) GOOS=linux go build $(options) -tags "$(tags)" -ldflags "-s -w -extldflags -static $(SWLDFLAGS)" && mv weed ../docker/+ cd ../weed/mq/client/cmd/weed_pub && CGO_ENABLED=$(cgo) GOOS=linux go build && mv weed_pub ../../../../../docker/+ cd ../weed/mq/client/cmd/weed_sub && CGO_ENABLED=$(cgo) GOOS=linux go build && mv weed_sub ../../../../../docker/binary_race: options = -racebinary_race: cgo = 1