From 634c42547ec7236bbe80cc4cd55c0ec5f35518e3 Mon Sep 17 00:00:00 2001 From: SmsS4 <36403983+SmsS4@users.noreply.github.com> Date: Thu, 20 Apr 2023 18:20:54 +0330 Subject: [PATCH] Add weed prefix --- Environment-Variables.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Environment-Variables.md b/Environment-Variables.md index ca691e0..1c78f26 100644 --- a/Environment-Variables.md +++ b/Environment-Variables.md @@ -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.