Add a weed filer

This commit is contained in:
Scott Wallace 2022-04-02 17:52:05 +01:00
parent ccd49aa135
commit 95ec2ca2d7
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -4,7 +4,10 @@ BIN_DIR=/app
SEAWEEDFS_MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
if test "${LIGHTHOUSE}" == "true"; then
${BIN_DIR}/weed master -port=9333 -mdir=/storage -peers=${SEAWEEDFS_MASTERS}
${BIN_DIR}/weed master -mdir=/storage -peers=${SEAWEEDFS_MASTERS} &
else
${BIN_DIR}/weed volume -dir=/storage -port=8080 -mserver=${SEAWEEDFS_MASTERS}
${BIN_DIR}/weed volume -dir=/storage -mserver=${SEAWEEDFS_MASTERS} &
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} &
fi
wait