ly0303521

设置网络和端口

... ... @@ -2,13 +2,13 @@
PUBLIC_IP="106.120.52.146"
# Ports (External Access)
LOCAL_BACKEND_PORT="7000"
PUBLIC_BACKEND_PORT="37000"
LOCAL_FRONTEND_PORT="7001"
PUBLIC_FRONTEND_PORT="37001"
LOCAL_TURBO_PORT="8000"
PUBLIC_TURBO_PORT="38000"
PUBLIC_OSS_PORT="39997"
LOCAL_BACKEND_PORT="9998"
PUBLIC_BACKEND_PORT="39998"
LOCAL_FRONTEND_PORT="9013"
PUBLIC_FRONTEND_PORT="39013"
LOCAL_TURBO_PORT="7002"
PUBLIC_TURBO_PORT="37002"
PUBLIC_OSS_PORT="34000"
PUBLIC_ZIMAGE_PORT="39009"
... ...
... ... @@ -9,6 +9,11 @@ else
echo "Error: .env.sh not found in $BASE_DIR"
exit 1
fi
# Bypass proxy for local connections
export no_proxy="localhost,127.0.0.1,0.0.0.0,::1"
export NO_PROXY="localhost,127.0.0.1,0.0.0.0,::1"
FRONTEND_DIR="$BASE_DIR/z-image-generator"
BACKEND_DIR="$BASE_DIR"
CONSTANTS_FILE="$FRONTEND_DIR/constants.ts"
... ...