mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
docker: add the /data/filerdb folder
This commit is contained in:
parent
5cbe7392a3
commit
43e9dc3cf2
@ -33,7 +33,6 @@ case "$1" in
|
|||||||
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
|
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
|
||||||
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
|
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
|
||||||
fi
|
fi
|
||||||
mkdir -p /data/filerdb
|
|
||||||
exec /usr/bin/weed $@ $ARGS
|
exec /usr/bin/weed $@ $ARGS
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user