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.

47 lines
1.1 KiB

  1. version: '2'
  2. services:
  3. master:
  4. image: chrislusf/seaweedfs:local
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. command: "master -ip=master"
  9. volume:
  10. image: chrislusf/seaweedfs:local
  11. ports:
  12. - 7455:8080
  13. - 9325:9325
  14. volumes:
  15. - /Volumes/mobile_disk/99:/data
  16. command: 'volume -mserver="master:9333" -port=8080 -metricsPort=9325 -preStopSeconds=1 -publicUrl=localhost:7455'
  17. depends_on:
  18. - master
  19. filer:
  20. image: chrislusf/seaweedfs:local
  21. ports:
  22. - 8888:8888
  23. - 18888:18888
  24. - 9326:9326
  25. volumes:
  26. - /Volumes/mobile_disk/99:/data
  27. command: 'filer -master="master:9333" -metricsPort=9326'
  28. tty: true
  29. stdin_open: true
  30. depends_on:
  31. - master
  32. - volume
  33. mount:
  34. image: chrislusf/seaweedfs:local
  35. privileged: true
  36. cap_add:
  37. - SYS_ADMIN
  38. devices:
  39. - fuse
  40. volumes:
  41. - /Volumes/mobile_disk/99:/data
  42. entrypoint: '/bin/sh -c "mkdir -p t1 && weed mount -filer=filer:8888 -dir=./t1 -cacheCapacityMB=0 -memprofile=/data/mount.mem.pprof"'
  43. depends_on:
  44. - master
  45. - volume
  46. - filer