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.

34 lines
681 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. RUN apk add fuse # for weed mount
  8. RUN apk add curl # for health checks
  9. # volume server grpc port
  10. EXPOSE 18080
  11. # volume server http port
  12. EXPOSE 8080
  13. # filer server grpc port
  14. EXPOSE 18888
  15. # filer server http port
  16. EXPOSE 8888
  17. # master server shared grpc port
  18. EXPOSE 19333
  19. # master server shared http port
  20. EXPOSE 9333
  21. # s3 server http port
  22. EXPOSE 8333
  23. # webdav server http port
  24. EXPOSE 7333
  25. RUN mkdir -p /data/filerldb2
  26. VOLUME /data
  27. WORKDIR /data
  28. RUN chmod +x /entrypoint.sh
  29. ENTRYPOINT ["/entrypoint.sh"]