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.

40 lines
923 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. - 18080:18080
  19. command: 'volume -max=5 -mserver="master:9333" -port=8080'
  20. depends_on:
  21. - master
  22. networks:
  23. default:
  24. aliases:
  25. - seaweed_volume
  26. filer:
  27. #image: chrislusf/seaweedfs # use a remote image
  28. build: . # build our container from the local Dockerfile
  29. ports:
  30. - 8888:8888
  31. - 18888:18888
  32. command: 'filer -master="master:9333"'
  33. depends_on:
  34. - master
  35. - volume
  36. networks:
  37. default:
  38. aliases:
  39. - seaweed_filer