seaweedfs-compose.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version: '3.9'
  2. services:
  3. master:
  4. image: chrislusf/seaweedfs # use a remote image
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. - 9324:9324
  9. command: "master -ip=master -ip.bind=0.0.0.0 -metricsPort=9324"
  10. volume:
  11. image: chrislusf/seaweedfs # use a remote image
  12. ports:
  13. - 8080:8080
  14. - 18080:18080
  15. - 9325:9325
  16. command: 'volume -mserver="master:9333" -ip.bind=0.0.0.0 -port=8080 -metricsPort=9325'
  17. depends_on:
  18. - master
  19. filer:
  20. image: chrislusf/seaweedfs # use a remote image
  21. ports:
  22. - 8888:8888
  23. - 18888:18888
  24. - 9326:9326
  25. command: 'filer -master="master:9333" -ip.bind=0.0.0.0 -metricsPort=9326'
  26. tty: true
  27. stdin_open: true
  28. depends_on:
  29. - master
  30. - volume
  31. s3:
  32. image: chrislusf/seaweedfs # use a remote image
  33. ports:
  34. - 8333:8333
  35. - 9327:9327
  36. command: 's3 -filer="filer:8888" -ip.bind=0.0.0.0 -metricsPort=9327'
  37. depends_on:
  38. - master
  39. - volume
  40. - filer
  41. webdav:
  42. image: chrislusf/seaweedfs # use a remote image
  43. ports:
  44. - 7333:7333
  45. command: 'webdav -filer="filer:8888"'
  46. depends_on:
  47. - master
  48. - volume
  49. - filer
  50. prometheus:
  51. image: prom/prometheus:v2.21.0
  52. ports:
  53. - 9000:9090
  54. volumes:
  55. - ./prometheus:/etc/prometheus
  56. command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
  57. depends_on:
  58. - s3