Persist filer data
This commit is contained in:
parent
f786e0370d
commit
43fa118a02
|
@ -4,10 +4,10 @@ BIN_DIR=/app
|
||||||
SEAWEEDFS_MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
SEAWEEDFS_MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333
|
||||||
|
|
||||||
if test "${LIGHTHOUSE}" == "true"; then
|
if test "${LIGHTHOUSE}" == "true"; then
|
||||||
${BIN_DIR}/weed master -mdir=/storage -peers=${SEAWEEDFS_MASTERS} &
|
${BIN_DIR}/weed master -mdir=/storage/raw -peers=${SEAWEEDFS_MASTERS} &
|
||||||
else
|
else
|
||||||
${BIN_DIR}/weed volume -dir=/storage -mserver=${SEAWEEDFS_MASTERS} &
|
${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} &
|
||||||
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} &
|
${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -defaultStoreDir=/storage/filer &
|
||||||
${BIN_DIR}/weed filer.remote.sync -dir=/ &
|
${BIN_DIR}/weed filer.remote.sync -dir=/ &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue