Browse Source

add directory /data/filerdb

fix https://github.com/chrislusf/seaweedfs/issues/885
pull/895/head
Chris Lu 6 years ago
parent
commit
023f447d56
  1. 1
      docker/Dockerfile
  2. 1
      docker/Dockerfile.go_build

1
docker/Dockerfile

@ -25,6 +25,7 @@ EXPOSE 8333
VOLUME /data
COPY filer.toml /etc/seaweedfs/filer.toml
RUN mkdir /data/filerdb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

1
docker/Dockerfile.go_build

@ -20,6 +20,7 @@ VOLUME /data
RUN mkdir -p /etc/seaweedfs
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml
RUN mkdir -p /data/filerdb
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
RUN cp /go/bin/weed /usr/bin/

Loading…
Cancel
Save