Browse Source
Merge pull request #3188 from kmlebedev/fix_make_dev
fix ip.bind cmd for docker compose
pull/3253/head
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
11 additions and
4 deletions
-
docker/README.md
-
docker/compose/local-dev-compose.yml
-
docker/seaweedfs-dev-compose.yml
|
|
@ -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) |
|
|
|
|
|
@ -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 |
|
|
|
|
|
@ -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 |
|
|
|