From 3044cee011f2e3a6c09890a9cc07a05ae5509a5d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Oct 2025 22:12:35 +1100 Subject: [PATCH] Tweak docker setup (#10490) (#10493) - Set default forwarding values (cherry picked from commit 946d4358c37269fbd7bf40af578bd68200dc2820) Co-authored-by: Oliver --- contrib/container/.env | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/container/.env b/contrib/container/.env index 859f58ed57..b07299dc7d 100644 --- a/contrib/container/.env +++ b/contrib/container/.env @@ -13,6 +13,11 @@ INVENTREE_SITE_URL="http://inventree.localhost" #INVENTREE_SITE_URL="http://192.168.1.2" # You can specify a local IP address here #INVENTREE_SITE_URL="https://inventree.my-domain.com" # Or a public domain name (which you control) +# InvenTree proxy forwarding settings +INVENTREE_USE_X_FORWARDED_HOST=True +INVENTREE_USE_X_FORWARDED_PORT=True +INVENTREE_USE_X_FORWARDED_PROTO=True + # Specify the location of the external data volume # By default, placed in local directory 'inventree-data' INVENTREE_EXT_VOLUME=./inventree-data @@ -23,7 +28,8 @@ INVENTREE_LOG_LEVEL=WARNING # Enable custom plugins? INVENTREE_PLUGINS_ENABLED=True -# Run migrations automatically? +# Run database migrations automatically? +# Note: This does not negate the need to run "invoke update" INVENTREE_AUTO_UPDATE=True # InvenTree superuser account details