You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
558 B

5 years ago
5 years ago
5 years ago
  1. FROM alpine AS final
  2. LABEL author="Chris Lu"
  3. COPY ./weed /usr/bin/
  4. RUN mkdir -p /etc/seaweedfs
  5. COPY ./filer.toml /etc/seaweedfs/filer.toml
  6. COPY ./entrypoint.sh /entrypoint.sh
  7. # volume server grpc port
  8. EXPOSE 18080
  9. # volume server http port
  10. EXPOSE 8080
  11. # filer server grpc port
  12. EXPOSE 18888
  13. # filer server http port
  14. EXPOSE 8888
  15. # master server shared grpc port
  16. EXPOSE 19333
  17. # master server shared http port
  18. EXPOSE 9333
  19. # s3 server http port
  20. EXPOSE 8333
  21. RUN mkdir -p /data/filerldb2
  22. VOLUME /data
  23. RUN chmod +x /entrypoint.sh
  24. ENTRYPOINT ["/entrypoint.sh"]