From 7f5c38fd5a7ea95912a3a44cdf0dfc8e80d7c997 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 23 Mar 2024 08:08:55 +0100 Subject: [PATCH] Update environment variable config to clarify that config cannot be set via environment variable closes #9991 --- docs/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index f9348e497..684c6743c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -52,6 +52,10 @@ FREQTRADE__EXCHANGE__SECRET= !!! Tip "Validate combined result" You can use the [show-config subcommand](utils.md#show-config) to see the final, combined configuration. +??? Warning "Loading sequence" + Environment variables are loaded after the initial configuration. As such, you cannot provide the path to the configuration through environment variables. Please use `--config path/to/config.json` for that. + This also applies to user_dir to some degree. while the user directory can be set through environment variables - the configuration will **not** be loaded from that location. + ### Multiple configuration files Multiple configuration files can be specified and used by the bot or the bot can read its configuration parameters from the process standard input stream.