From e8179746da7f82840d8f4704e09c701a1914c44b Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Mon, 13 May 2024 12:09:48 +0500 Subject: [PATCH] make server with sqlite --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc63bc708..4827acd3c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ debug ?= 0 all: install install: - cd weed; go install + cd weed; go install -tags "sqlite" warp_install: go install github.com/minio/warp@v0.7.6 @@ -15,7 +15,8 @@ full_install: cd weed; go install -tags "elastic gocdk sqlite ydb tikv rclone" server: install - weed -v 0 server -s3 -filer -filer.maxMB=64 -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1 -s3.port=8000 -s3.allowEmptyFolder=false -s3.allowDeleteBucketNotEmpty=true -s3.config=./docker/compose/s3.json -metricsPort=9324 + export WEED_LEVELDB2_ENABLED="false";export WEED_SQLITE_ENABLED="true"; \ + weed -v 0 server -s3.allowListRecursive=true -dir /tmp -master.volumeSizeLimitMB=1024 -s3 -filer -filer.maxMB=64 -filer.port.public=7777 -volume.max=100 -volume.preStopSeconds=1 -s3.port=8000 -s3.allowEmptyFolder=false -s3.allowDeleteBucketNotEmpty=true -s3.config=./docker/compose/s3.json -metricsPort=9324 benchmark: install warp_install pkill weed || true