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.

29 lines
726 B

  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. volumes:
  10. - ./seaweedfs.sql:/docker-entrypoint-initdb.d/seaweedfs.sql
  11. environment:
  12. - YDB_DEFAULT_LOG_LEVEL=NOTICE
  13. - GRPC_TLS_PORT=2135
  14. - GRPC_PORT=2136
  15. - MON_PORT=8765
  16. server:
  17. image: chrislusf/seaweedfs:local
  18. ports:
  19. - 9333:9333
  20. - 19333:19333
  21. - 8084:8080
  22. - 18084:18080
  23. - 8888:8888
  24. - 18888:18888
  25. command: "server -ip=server -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
  26. volumes:
  27. - ./master-cloud.toml:/etc/seaweedfs/master.toml
  28. depends_on:
  29. - ydb