Env var docs (#8499)

- Add example for specifying a list value
- Closes https://github.com/inventree/InvenTree/issues/8410
This commit is contained in:
Oliver authored and GitHub committed 2024-11-16 16:15:28 +11:00
1 parent 3037243de2
commit 88bb06e75a
1 file changed
+8
+8
View File
@@ -46,6 +46,14 @@ Environment variable settings generally use the `INVENTREE_` prefix, and are all
!!! warning "Available Variables" !!! warning "Available Variables"
Some configuration options cannot be set via environment variables. Refer to the documentation below. Some configuration options cannot be set via environment variables. Refer to the documentation below.
#### List Values
To specify a list value in an environment variable, use a comma-separated list. For example, to specify a list of trusted origins:
```bash
INVENTREE_TRUSTED_ORIGINS='https://inventree.example.com:8443,https://stock.example.com:8443'
```
## Basic Options ## Basic Options
The following basic options are available: The following basic options are available: