mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-22 16:44:44 +00:00
Remove custom IP fetching (#10954)
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
@@ -29,13 +29,12 @@ $STD npm install --global n8n
|
||||
msg_ok "Installed n8n"
|
||||
|
||||
msg_info "Creating Service"
|
||||
HOST_IP=$(hostname -I | awk '{print $1}')
|
||||
mkdir -p /opt
|
||||
cat <<EOF >/opt/n8n.env
|
||||
N8N_SECURE_COOKIE=false
|
||||
N8N_PORT=5678
|
||||
N8N_PROTOCOL=http
|
||||
N8N_HOST=$HOST_IP
|
||||
N8N_HOST=${LOCAL_IP}
|
||||
EOF
|
||||
|
||||
cat <<EOF >/etc/systemd/system/n8n.service
|
||||
|
||||
Reference in New Issue
Block a user