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.

36 lines
738 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. command: "master"
  8. volume:
  9. image: chrislusf/seaweedfs # use a remote image
  10. ports:
  11. - 8080:8080
  12. - 18080:18080
  13. command: 'volume -max=15 -mserver="master:9333" -port=8080'
  14. depends_on:
  15. - master
  16. filer:
  17. image: chrislusf/seaweedfs # use a remote image
  18. ports:
  19. - 8888:8888
  20. - 18888:18888
  21. command: 'filer -master="master:9333"'
  22. tty: true
  23. stdin_open: true
  24. depends_on:
  25. - master
  26. - volume
  27. s3:
  28. image: chrislusf/seaweedfs # use a remote image
  29. ports:
  30. - 8333:8333
  31. command: 's3 -filer="filer:8888"'
  32. depends_on:
  33. - master
  34. - volume
  35. - filer