Skip to content

Commit

Permalink
Update environment variable config to clarify that config cannot be s…
Browse files Browse the repository at this point in the history
…et via environment variable

closes freqtrade#9991
  • Loading branch information
xmatthias committed Mar 23, 2024
1 parent 82a9bdc commit 7f5c38f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ FREQTRADE__EXCHANGE__SECRET=<yourExchangeSecret>
!!! 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.
Expand Down

0 comments on commit 7f5c38f

Please sign in to comment.