Browse Source

fix ip.bind cmd for docker compose

pull/3188/head
Konstantin Lebedev 3 years ago
parent
commit
a9f6c4b43d
  1. 7
      docker/README.md
  2. 4
      docker/compose/local-dev-compose.yml
  3. 4
      docker/seaweedfs-dev-compose.yml

7
docker/README.md

@ -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)

4
docker/compose/local-dev-compose.yml

@ -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

4
docker/seaweedfs-dev-compose.yml

@ -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

Loading…
Cancel
Save