From a7e29867b80df1ea369d2a617369605cde305f04 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 14 Feb 2026 16:01:02 +0100 Subject: [PATCH] Port --- installer.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/installer.sh b/installer.sh index 2bca822..7792251 100644 --- a/installer.sh +++ b/installer.sh @@ -26,6 +26,11 @@ else echo "DOCKSHIP_LITE=false" > .env fi +# Prompt for port +read -p "Enter the port DockShip should run on [3000]: " PORT +PORT=${PORT:-3000} +echo "PORT=$PORT" >> .env + # Prompt for ORIGIN type echo "" echo "Choose the origin IP for DockShip:" @@ -33,8 +38,6 @@ echo "1) Local IP (Recommended)" echo "2) Public IP (Unsafe)" read -p "Enter choice [1/2]: " ip_choice -PORT=3000 # Default port - if [[ "$ip_choice" == "1" ]]; then # Get local IP (first non-loopback IP) LOCAL_IP=$(hostname -I | awk '{print $1}')