fix ip.bind cmd for docker compose

This commit is contained in:
Konstantin Lebedev 2022-06-15 16:49:53 +05:00
parent 4eeeb5f50d
commit a9f6c4b43d
3 changed files with 11 additions and 4 deletions

View File

@ -28,6 +28,13 @@ cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker
make make
``` ```
### S3 cmd
list
```
s3cmd --no-ssl --host=127.0.0.1:8333 ls s3://
```
## Build and push a multiarch build ## Build and push a multiarch build
Make sure that `docker buildx` is supported (might be an experimental docker feature) Make sure that `docker buildx` is supported (might be an experimental docker feature)

View File

@ -29,7 +29,7 @@ services:
- 8111:8111 - 8111:8111
- 8888:8888 - 8888:8888
- 18888:18888 - 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: depends_on:
- master - master
- volume - volume
@ -41,7 +41,7 @@ services:
image: chrislusf/seaweedfs:local image: chrislusf/seaweedfs:local
ports: ports:
- 8333:8333 - 8333:8333
command: '-v=1 s3 -filer="filer:8888"' command: '-v=1 s3 -filer="filer:8888" -ip.bind=s3'
depends_on: depends_on:
- master - master
- volume - volume

View File

@ -20,7 +20,7 @@ services:
ports: ports:
- 8888:8888 - 8888:8888
- 18888:18888 - 18888:18888
command: 'filer -master="master:9333"' command: 'filer -master="master:9333" -ip.bind=0.0.0.0'
depends_on: depends_on:
- master - master
- volume - volume
@ -28,7 +28,7 @@ services:
image: chrislusf/seaweedfs:dev # use a remote dev image image: chrislusf/seaweedfs:dev # use a remote dev image
ports: ports:
- 8333:8333 - 8333:8333
command: 's3 -filer="filer:8888"' command: 's3 -filer="filer:8888" -ip.bind=0.0.0.0'
depends_on: depends_on:
- master - master
- volume - volume