mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Fix typo
parent
0d15bab170
commit
013e859a2b
|
@ -16,7 +16,7 @@ For `v`, `logtostderr`, `stderrthreshold`, `vmoudle`, `options`, `logdir`, `also
|
||||||
# Docker
|
# Docker
|
||||||
This is useful for using docker and docker compose
|
This is useful for using docker and docker compose
|
||||||
You have to override entrypoint to `weed` because defautl [entrypoint](https://github.com/seaweedfs/seaweedfs/blob/master/docker/entrypoint.sh) use default values for `volumeSizeLimitMB`, `volumePreallocate`, `mdir`, `dir`, and `max` and setting environment variables won't change these values.
|
You have to override entrypoint to `weed` because defautl [entrypoint](https://github.com/seaweedfs/seaweedfs/blob/master/docker/entrypoint.sh) use default values for `volumeSizeLimitMB`, `volumePreallocate`, `mdir`, `dir`, and `max` and setting environment variables won't change these values.
|
||||||
## Dcoker
|
## Docker
|
||||||
```shell
|
```shell
|
||||||
docker run --entrypoint weed -it -e IP_BIND=0.0.0.0 -e MDIR=/tmp -e PORT=5000 -e VOLUMEPREALLOCATE=true chrislusf/seaweedfs:3.45 master
|
docker run --entrypoint weed -it -e IP_BIND=0.0.0.0 -e MDIR=/tmp -e PORT=5000 -e VOLUMEPREALLOCATE=true chrislusf/seaweedfs:3.45 master
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue