Browse Source

create filerdb folder

pull/809/head
Chris Lu 6 years ago
parent
commit
4b444d58ee
  1. 1
      docker/Dockerfile
  2. 1
      docker/entrypoint.sh

1
docker/Dockerfile

@ -25,6 +25,5 @@ VOLUME /data
COPY filer.toml /etc/seaweedfs/filer.toml
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
RUN mkdir -p /data/filerdb
ENTRYPOINT ["/entrypoint.sh"]

1
docker/entrypoint.sh

@ -33,6 +33,7 @@ case "$1" in
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
mkdir -p /data/filerdb
exec /usr/bin/weed $@ $ARGS
;;

Loading…
Cancel
Save