weed server: mkdir first, and set the master ip address

fix https://github.com/chrislusf/seaweedfs/issues/885
This commit is contained in:
Chris Lu committed 2019-03-15 00:32:42 -07:00
1 parent 023f447d56
commit a4e8aa98a0
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -22,10 +22,11 @@ EXPOSE 9333
# s3 server http port
EXPOSE 8333
RUN mkdir -p /data/filerdb
VOLUME /data
COPY filer.toml /etc/seaweedfs/filer.toml
RUN mkdir /data/filerdb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh