From 8c13ccf59efcc60ca629d1858b8238f66ba14c06 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2024 16:17:08 +1100 Subject: [PATCH] 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 --- 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 5653b8a659..54b94abfea 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: