Skip to content

Commit

Permalink
update seaweedfs
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana committed Dec 9, 2024
1 parent 699c6e7 commit 91b84bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/grid/seaweedfs/config/app/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ serverurl=unix:///tmp/supervisor.sock
[program:seaweed_server]
priority=1
command=sh -c "exec weed server \
-idleTimeout=60 \
-master -master.dir=$SWFS_MASTER_DIR -master.volumeSizeLimitMB=$SWFS_VOLUME_SIZE_LIMIT_MB \
-filer -filer.maxMB=$SWFS_FILER_CHUNKS_MB -filer.concurrentUploadLimitMB=$SWFS_FILER_UPLOAD_LIMIT_MB \
-s3 -s3.config=/run/secrets/seaweedfs/s3config.json \
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/seaweedfs/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

# setup cron jobs
echo "Setting up cron jobs"
cat > /etc/periodic/hourly/uncache <<EOF
cat > /etc/periodic/daily/uncache <<EOF
#!/bin/sh
sh /root/swfs/scripts/wait_for_swfs.sh && echo remote.uncache -minAge=$SWFS_UNCACHE_MINAGE | weed shell
EOF
Expand Down
5 changes: 2 additions & 3 deletions packages/grid/seaweedfs/seaweedfs.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG SEAWEEDFS_VERSION="3.64"
ARG SEAWEEDFS_VERSION="3.80"
FROM chrislusf/seaweedfs:${SEAWEEDFS_VERSION}_large_disk

WORKDIR /root/swfs
Expand All @@ -10,8 +10,7 @@ COPY ./requirements.txt .

RUN pip install --no-cache-dir --break-system-packages -r requirements.txt

RUN mkdir -p /data/master/ /data/vol/blob/ /data/vol/idx/ && \
ulimit -n 10240
RUN mkdir -p /data/master/ /data/vol/blob/ /data/vol/idx/

COPY ./scripts ./scripts
COPY ./src ./src
Expand Down

0 comments on commit 91b84bc

Please sign in to comment.