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.

32 lines
818 B

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. server:
  15. image: chrislusf/seaweedfs:local
  16. ports:
  17. - 9333:9333
  18. - 19333:19333
  19. - 8084:8080
  20. - 18084:18080
  21. - 8888:8888
  22. - 18888:18888
  23. command: "server -ip=server -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
  24. volumes:
  25. - ./master-cloud.toml:/etc/seaweedfs/master.toml
  26. environment:
  27. - WEED_LEVELDB2_ENABLED=false
  28. - WEED_YDB_ENABLED=true
  29. - WEED_YDB_DSN=grpc://ydb:2136/?database=local
  30. - YDB_ANONYMOUS_CREDENTIALS=1
  31. depends_on:
  32. - ydb