mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-06-13 23:36:45 +03:00
docs(readme): align Docker quick start with weed mini defaults
Replace the old "server -s3" form with a parallel docker run that uses the same env vars (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, S3_BUCKET) as the binary weed mini quick start. Drop the explicit "mini" subcommand since it is the default CMD in the image.
This commit is contained in:
@@ -105,7 +105,15 @@ Perfect for development, testing, learning SeaweedFS, and single-node deployment
|
|||||||
|
|
||||||
## Quick Start for S3 API on Docker ##
|
## Quick Start for S3 API on Docker ##
|
||||||
|
|
||||||
`docker run -p 8333:8333 chrislusf/seaweedfs server -s3`
|
```bash
|
||||||
|
docker run -p 8333:8333 \
|
||||||
|
-e AWS_ACCESS_KEY_ID=admin \
|
||||||
|
-e AWS_SECRET_ACCESS_KEY=secret \
|
||||||
|
-e S3_BUCKET=my-bucket \
|
||||||
|
chrislusf/seaweedfs
|
||||||
|
```
|
||||||
|
|
||||||
|
Same behavior as the `weed mini` command above — the S3 endpoint is at http://localhost:8333 with `my-bucket` pre-created. Drop the env vars to run anonymously for development.
|
||||||
|
|
||||||
# Introduction #
|
# Introduction #
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user