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.

37 lines
756 B

6 years ago
6 years ago
  1. version: '2'
  2. services:
  3. master:
  4. image: chrislusf/seaweedfs # use a remote image
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. command: "master"
  9. volume:
  10. image: chrislusf/seaweedfs # use a remote image
  11. ports:
  12. - 8080:8080
  13. - 18080:18080
  14. command: 'volume -max=15 -mserver="master:9333" -port=8080'
  15. depends_on:
  16. - master
  17. filer:
  18. image: chrislusf/seaweedfs # use a remote image
  19. ports:
  20. - 8888:8888
  21. - 18888:18888
  22. command: 'filer -master="master:9333"'
  23. tty: true
  24. stdin_open: true
  25. depends_on:
  26. - master
  27. - volume
  28. s3:
  29. image: chrislusf/seaweedfs # use a remote image
  30. ports:
  31. - 8333:8333
  32. command: 's3 -filer="filer:8888"'
  33. depends_on:
  34. - master
  35. - volume
  36. - filer