mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-31 06:34:17 -04:00
fix (#13365)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -47,6 +47,7 @@ $STD yarn install
|
||||
$STD yarn build
|
||||
cat <<EOF >/opt/tandoor/.env
|
||||
SECRET_KEY=$SECRET_KEY
|
||||
ALLOWED_HOSTS=$LOCAL_IP
|
||||
TZ=Europe/Berlin
|
||||
|
||||
DB_ENGINE=django.db.backends.postgresql
|
||||
|
||||
Reference in New Issue
Block a user