Browse Source

make server with sqlite

pull/5580/head
Konstantin Lebedev 8 months ago
parent
commit
e8179746da
  1. 5
      Makefile

5
Makefile

@ -6,7 +6,7 @@ debug ?= 0
all: install all: install
install: install:
cd weed; go install
cd weed; go install -tags "sqlite"
warp_install: warp_install:
go install github.com/minio/warp@v0.7.6 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" cd weed; go install -tags "elastic gocdk sqlite ydb tikv rclone"
server: install 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 benchmark: install warp_install
pkill weed || true pkill weed || true

Loading…
Cancel
Save