test-ydb-filer.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. version: '3.9'
  2. services:
  3. ydb:
  4. image: cr.yandex/yc/yandex-docker-local-ydb
  5. ports:
  6. - 2135:2135
  7. - 8765:8765
  8. - 2136:2136
  9. environment:
  10. - YDB_DEFAULT_LOG_LEVEL=DEBUG
  11. - GRPC_TLS_PORT=2135
  12. - GRPC_PORT=2136
  13. - MON_PORT=8765
  14. s3:
  15. image: chrislusf/seaweedfs:local
  16. ports:
  17. - 9333:9333
  18. - 19333:19333
  19. - 8888:8888
  20. - 8000:8000
  21. - 18888:18888
  22. command: "server -ip=s3 -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"
  23. volumes:
  24. - ./s3.json:/etc/seaweedfs/s3.json
  25. environment:
  26. WEED_LEVELDB2_ENABLED: "false"
  27. WEED_YDB_ENABLED: "true"
  28. WEED_YDB_DSN: "grpc://ydb:2136/?database=local"
  29. WEED_YDB_PREFIX: "seaweedfs"
  30. YDB_ANONYMOUS_CREDENTIALS: 1
  31. WEED_MASTER_VOLUME_GROWTH_COPY_1: 1
  32. WEED_MASTER_VOLUME_GROWTH_COPY_OTHER: 1
  33. depends_on:
  34. - ydb