2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Env var docs (#8499) (#8500)

- Add example for specifying a list value
- Closes https://github.com/inventree/InvenTree/issues/8410

(cherry picked from commit 88bb06e75aa080f3d221ada41c0c877c44cada8d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2024-11-16 16:17:08 +11:00 committed by GitHub
parent dca5fd69ec
commit 8c13ccf59e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: