From 88bb06e75aa080f3d221ada41c0c877c44cada8d Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 16 Nov 2024 16:15:28 +1100 Subject: [PATCH] Env var docs (#8499) - Add example for specifying a list value - Closes https://github.com/inventree/InvenTree/issues/8410 --- docs/docs/start/config.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/start/config.md b/docs/docs/start/config.md index fab396c4d8..5320939aa9 100644 --- a/docs/docs/start/config.md +++ b/docs/docs/start/config.md @@ -46,6 +46,14 @@ Environment variable settings generally use the `INVENTREE_` prefix, and are all !!! warning "Available Variables" 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 The following basic options are available: