aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-01 17:28:58 +0500
committerKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-01 17:28:58 +0500
commit275c3bb19cda3492ca987c24cd5a25c267a1eb46 (patch)
tree797b9583c563355d191f9f5b53063a5ea3548276 /docker
parentb2a96cee21aac22c71538ce98ac188d6e3c89fbd (diff)
downloadseaweedfs-275c3bb19cda3492ca987c24cd5a25c267a1eb46.tar.xz
seaweedfs-275c3bb19cda3492ca987c24cd5a25c267a1eb46.zip
ydb initial
https://github.com/chrislusf/seaweedfs/issues/2942
Diffstat (limited to 'docker')
-rw-r--r--docker/compose/local-ydb-compose.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/docker/compose/local-ydb-compose.yml b/docker/compose/local-ydb-compose.yml
new file mode 100644
index 000000000..ce3e7e9ed
--- /dev/null
+++ b/docker/compose/local-ydb-compose.yml
@@ -0,0 +1,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 \ No newline at end of file