From a9f6c4b43d666f7e09e9bff5e8a423b5079b2a08 Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> Date: Wed, 15 Jun 2022 16:49:53 +0500 Subject: [PATCH] fix ip.bind cmd for docker compose --- docker/README.md | 7 +++++++ docker/compose/local-dev-compose.yml | 4 ++-- docker/seaweedfs-dev-compose.yml | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docker/README.md b/docker/README.md index 524f5d4d0..288d87158 100644 --- a/docker/README.md +++ b/docker/README.md @@ -28,6 +28,13 @@ cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker make ``` +### S3 cmd + +list +``` +s3cmd --no-ssl --host=127.0.0.1:8333 ls s3:// +``` + ## Build and push a multiarch build Make sure that `docker buildx` is supported (might be an experimental docker feature) diff --git a/docker/compose/local-dev-compose.yml b/docker/compose/local-dev-compose.yml index 01d0594a6..5df1e7332 100644 --- a/docker/compose/local-dev-compose.yml +++ b/docker/compose/local-dev-compose.yml @@ -29,7 +29,7 @@ services: - 8111:8111 - 8888:8888 - 18888:18888 - command: '-v=1 filer -master="master:9333" -iam' + command: '-v=1 filer -ip.bind=0.0.0.0 -master="master:9333" -iam -iam.ip=filer' depends_on: - master - volume @@ -41,7 +41,7 @@ services: image: chrislusf/seaweedfs:local ports: - 8333:8333 - command: '-v=1 s3 -filer="filer:8888"' + command: '-v=1 s3 -filer="filer:8888" -ip.bind=s3' depends_on: - master - volume diff --git a/docker/seaweedfs-dev-compose.yml b/docker/seaweedfs-dev-compose.yml index 2382fb17d..0b11e72e4 100644 --- a/docker/seaweedfs-dev-compose.yml +++ b/docker/seaweedfs-dev-compose.yml @@ -20,7 +20,7 @@ services: ports: - 8888:8888 - 18888:18888 - command: 'filer -master="master:9333"' + command: 'filer -master="master:9333" -ip.bind=0.0.0.0' depends_on: - master - volume @@ -28,7 +28,7 @@ services: image: chrislusf/seaweedfs:dev # use a remote dev image ports: - 8333:8333 - command: 's3 -filer="filer:8888"' + command: 's3 -filer="filer:8888" -ip.bind=0.0.0.0' depends_on: - master - volume