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.

49 lines
1.3 KiB

  1. version: '3.9'
  2. services:
  3. master:
  4. image: chrislusf/seaweedfs:local
  5. ports:
  6. - 9333:9333
  7. - 19333:19333
  8. command: "master -ip=master -volumeSizeLimitMB=1024"
  9. volume:
  10. image: chrislusf/seaweedfs:local
  11. ports:
  12. - 8080:8080
  13. - 18080:18080
  14. command: "volume -mserver=master:9333 -port=8080 -ip=volume -max=0 -preStopSeconds=1"
  15. depends_on:
  16. - master
  17. s3:
  18. image: chrislusf/seaweedfs:local
  19. ports:
  20. - 8888:8888
  21. - 18888:18888
  22. - 8333:8333
  23. command: '-v 1 filer -master="master:9333" -s3 -s3.config=/etc/seaweedfs/s3.json -s3.port=8333'
  24. volumes:
  25. - ./s3.json:/etc/seaweedfs/s3.json
  26. depends_on:
  27. - master
  28. - volume
  29. minio-gateway-s3:
  30. image: minio/minio
  31. ports:
  32. - 9000:9000
  33. command: 'minio gateway s3 http://s3:8333'
  34. restart: on-failure
  35. environment:
  36. MINIO_ACCESS_KEY: "some_access_key1"
  37. MINIO_SECRET_KEY: "some_secret_key1"
  38. depends_on:
  39. - s3
  40. minio-warp:
  41. image: minio/warp
  42. command: 'mixed --duration=5m --obj.size=3mb --autoterm'
  43. restart: on-failure
  44. environment:
  45. WARP_HOST: "minio-gateway-s3:9000"
  46. WARP_ACCESS_KEY: "some_access_key1"
  47. WARP_SECRET_KEY: "some_secret_key1"
  48. depends_on:
  49. - minio-gateway-s3