Mention environment variable prefix requirement in docs

This commit is contained in:
Filip Krakowski 2021-02-21 13:08:30 +01:00
parent a4a72680e0
commit 453ff24768
No known key found for this signature in database
GPG Key ID: 773AE6E405AFE69A

View File

@ -11,7 +11,7 @@ Per default, the bot loads the configuration from the `config.json` file, locate
You can specify a different configuration file used by the bot with the `-c/--config` command line option.
In some advanced use cases, 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. Furthermore, the bot substitutes environment variables in the form of `${VARIABLE_NAME}`.
In some advanced use cases, 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. Furthermore, the bot substitutes environment variables in the form of `${FREQTRADE_VARIABLE_NAME}`. Please note that the prefix `FREQTRADE_` must be present for this to work.
If you used the [Quick start](installation.md/#quick-start) method for installing
the bot, the installation script should have already created the default configuration file (`config.json`) for you.
@ -526,7 +526,7 @@ API Keys are usually only required for live trading (trading for real money, bot
You should also make sure to read the [Exchanges](exchanges.md) section of the documentation to be aware of potential configuration details specific to your exchange.
!!! Note
You can also store your secrets in environment variables and let the bot substitute them (`"key" : "${EXCHANGE_KEY}"`).
You can also store your secrets in environment variables and let the bot substitute them (`"key" : "${FREQTRADE_EXCHANGE_KEY}"`).
### Using proxy with Freqtrade