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.

34 lines
1.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. version: '2'
  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. - 8084:8080
  20. - 18084:18080
  21. - 8888:8888
  22. - 8000:8000
  23. - 18888:18888
  24. 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"
  25. volumes:
  26. - ./s3.json:/etc/seaweedfs/s3.json
  27. environment:
  28. WEED_LEVELDB2_ENABLED: "false"
  29. WEED_YDB_ENABLED: "true"
  30. WEED_YDB_DSN: "grpc://ydb:2136/?database=local"
  31. WEED_YDB_PREFIX: "seaweedfs"
  32. YDB_ANONYMOUS_CREDENTIALS: 1
  33. WEED_MASTER_VOLUME_GROWTH_COPY_1: 1
  34. WEED_MASTER_VOLUME_GROWTH_COPY_OTHER: 1