Showing
2 changed files
with
12 additions
and
7 deletions
| @@ -2,13 +2,13 @@ | @@ -2,13 +2,13 @@ | ||
| 2 | PUBLIC_IP="106.120.52.146" | 2 | PUBLIC_IP="106.120.52.146" |
| 3 | 3 | ||
| 4 | # Ports (External Access) | 4 | # Ports (External Access) |
| 5 | -LOCAL_BACKEND_PORT="7000" | ||
| 6 | -PUBLIC_BACKEND_PORT="37000" | ||
| 7 | -LOCAL_FRONTEND_PORT="7001" | ||
| 8 | -PUBLIC_FRONTEND_PORT="37001" | ||
| 9 | -LOCAL_TURBO_PORT="8000" | ||
| 10 | -PUBLIC_TURBO_PORT="38000" | ||
| 11 | -PUBLIC_OSS_PORT="39997" | 5 | +LOCAL_BACKEND_PORT="9998" |
| 6 | +PUBLIC_BACKEND_PORT="39998" | ||
| 7 | +LOCAL_FRONTEND_PORT="9013" | ||
| 8 | +PUBLIC_FRONTEND_PORT="39013" | ||
| 9 | +LOCAL_TURBO_PORT="7002" | ||
| 10 | +PUBLIC_TURBO_PORT="37002" | ||
| 11 | +PUBLIC_OSS_PORT="34000" | ||
| 12 | PUBLIC_ZIMAGE_PORT="39009" | 12 | PUBLIC_ZIMAGE_PORT="39009" |
| 13 | 13 | ||
| 14 | 14 |
| @@ -9,6 +9,11 @@ else | @@ -9,6 +9,11 @@ else | ||
| 9 | echo "Error: .env.sh not found in $BASE_DIR" | 9 | echo "Error: .env.sh not found in $BASE_DIR" |
| 10 | exit 1 | 10 | exit 1 |
| 11 | fi | 11 | fi |
| 12 | + | ||
| 13 | +# Bypass proxy for local connections | ||
| 14 | +export no_proxy="localhost,127.0.0.1,0.0.0.0,::1" | ||
| 15 | +export NO_PROXY="localhost,127.0.0.1,0.0.0.0,::1" | ||
| 16 | + | ||
| 12 | FRONTEND_DIR="$BASE_DIR/z-image-generator" | 17 | FRONTEND_DIR="$BASE_DIR/z-image-generator" |
| 13 | BACKEND_DIR="$BASE_DIR" | 18 | BACKEND_DIR="$BASE_DIR" |
| 14 | CONSTANTS_FILE="$FRONTEND_DIR/constants.ts" | 19 | CONSTANTS_FILE="$FRONTEND_DIR/constants.ts" |
-
Please register or login to post a comment