test-tarantool-filer.yml 987 B

123456789101112131415161718192021222324252627282930
  1. version: '3.9'
  2. services:
  3. tarantool:
  4. image: chrislusf/tarantool_dev_env
  5. entrypoint: "tt start app -i"
  6. environment:
  7. APP_USER_PASSWORD: "app"
  8. CLIENT_USER_PASSWORD: "client"
  9. REPLICATOR_USER_PASSWORD: "replicator"
  10. STORAGE_USER_PASSWORD: "storage"
  11. network_mode: "host"
  12. ports:
  13. - "3303:3303"
  14. s3:
  15. image: chrislusf/seaweedfs:local
  16. command: "server -ip=127.0.0.1 -filer -master.volumeSizeLimitMB=16 -volume.max=0 -volume -volume.preStopSeconds=1 -s3 -s3.config=/etc/seaweedfs/s3.json -s3.port=8000 -s3.allowEmptyFolder=false -s3.allowDeleteBucketNotEmpty=false"
  17. volumes:
  18. - ./s3.json:/etc/seaweedfs/s3.json
  19. environment:
  20. WEED_LEVELDB2_ENABLED: "false"
  21. WEED_TARANTOOL_ENABLED: "true"
  22. WEED_TARANTOOL_ADDRESS: "127.0.0.1:3303"
  23. WEED_TARANTOOL_USER: "client"
  24. WEED_TARANTOOL_PASSWORD: "client"
  25. WEED_MASTER_VOLUME_GROWTH_COPY_OTHER: 1
  26. network_mode: "host"
  27. depends_on:
  28. - tarantool