From 2f3d393726c0afc671f65dae514c7d372cf8f773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:18:10 +0100 Subject: [PATCH] fix (#13365) --- ct/tandoor.sh | 4 ++++ install/tandoor-install.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 4a1ce1739..451ed639e 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -33,6 +33,10 @@ function update_script() { exit fi + if ! grep -q "^ALLOWED_HOSTS=" /opt/tandoor/.env; then + echo "ALLOWED_HOSTS=${LOCAL_IP}" >>/opt/tandoor/.env + fi + if check_for_gh_release "tandoor" "TandoorRecipes/recipes"; then msg_info "Stopping Service" systemctl stop tandoor diff --git a/install/tandoor-install.sh b/install/tandoor-install.sh index c8f572297..b010a735e 100644 --- a/install/tandoor-install.sh +++ b/install/tandoor-install.sh @@ -47,6 +47,7 @@ $STD yarn install $STD yarn build cat </opt/tandoor/.env SECRET_KEY=$SECRET_KEY +ALLOWED_HOSTS=$LOCAL_IP TZ=Europe/Berlin DB_ENGINE=django.db.backends.postgresql