Add weed prefix

SmsS4 2023-04-20 18:20:54 +03:30
parent 62d8b9a246
commit 634c42547e

@ -9,6 +9,9 @@ export VOLUMEPREALLOCATE=true # or export VOLUMEPREALLOCATE=
weed master
```
# Weed prefix
For `v`, `logtostderr`, `stderrthreshold`, `vmoudle`, `options`, `logdir`, `alsologtostderr`, `log_backtrace_at` , and `config_dir` you have to use `WEED_` as prefix for environment variable like this `WEED_CONFIG_DIR=/tmp`
# Docker
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.