aboutsummaryrefslogtreecommitdiff
path: root/docker/compose/local-ydb-compose.yml
blob: ce3e7e9ed9213d2c4705154a99f10cb5ebaab393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '2'

services:
  ydb:
    image: cr.yandex/yc/yandex-docker-local-ydb
    ports:
      - 2135:2135
      - 8765:8765
      - 2136:2136
    volumes:
      - ./seaweedfs.sql:/docker-entrypoint-initdb.d/seaweedfs.sql
    environment:
      - YDB_DEFAULT_LOG_LEVEL=NOTICE
      - GRPC_TLS_PORT=2135
      - GRPC_PORT=2136
      - MON_PORT=8765
  server:
    image: chrislusf/seaweedfs:local
    ports:
      - 9333:9333
      - 19333:19333
      - 8084:8080
      - 18084:18080
      - 8888:8888
      - 18888:18888
    command: "server -ip=server -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1"
    volumes:
      - ./master-cloud.toml:/etc/seaweedfs/master.toml
    depends_on:
      - ydb