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.

38 lines
907 B

  1. version: '2'
  2. services:
  3. master:
  4. #image: chrislusf/seaweedfs # use a remote image
  5. build: . # build our container from the local Dockerfile
  6. ports:
  7. - 9333:9333
  8. command: "master"
  9. networks:
  10. default:
  11. aliases:
  12. - seaweed_master
  13. volume:
  14. #image: chrislusf/seaweedfs # use a remote image
  15. build: . # build our container from the local Dockerfile
  16. ports:
  17. - 8080:8080
  18. command: 'volume -max=5 -mserver="master:9333" -port=8080'
  19. depends_on:
  20. - master
  21. networks:
  22. default:
  23. aliases:
  24. - seaweed_volume
  25. filer:
  26. #image: chrislusf/seaweedfs # use a remote image
  27. build: . # build our container from the local Dockerfile
  28. ports:
  29. - 8888:8888
  30. command: 'filer -master="master:9333"'
  31. depends_on:
  32. - master
  33. - volume
  34. networks:
  35. default:
  36. aliases:
  37. - seaweed_filer