local-minio-gateway-compose.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 -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