Showing
2 changed files
with
8 additions
and
8 deletions
| @@ -2,10 +2,10 @@ | @@ -2,10 +2,10 @@ | ||
| 2 | export PUBLIC_IP="106.120.52.146" | 2 | export PUBLIC_IP="106.120.52.146" |
| 3 | 3 | ||
| 4 | # Ports (External Access) | 4 | # Ports (External Access) |
| 5 | -export LOCAL_BACKEND_PORT="7000" | ||
| 6 | -export PUBLIC_BACKEND_PORT="37000" | ||
| 7 | -export LOCAL_FRONTEND_PORT="7001" | ||
| 8 | -export PUBLIC_FRONTEND_PORT="37001" | 5 | +export LOCAL_BACKEND_PORT="9998" |
| 6 | +export PUBLIC_BACKEND_PORT="39998" | ||
| 7 | +export LOCAL_FRONTEND_PORT="9013" | ||
| 8 | +export PUBLIC_FRONTEND_PORT="39013" | ||
| 9 | export LOCAL_TURBO_PORT="7002" | 9 | export LOCAL_TURBO_PORT="7002" |
| 10 | export PUBLIC_TURBO_PORT="37002" | 10 | export PUBLIC_TURBO_PORT="37002" |
| 11 | export PUBLIC_OSS_PORT="34000" | 11 | export PUBLIC_OSS_PORT="34000" |
| @@ -17,5 +17,5 @@ export VIDEO_GENERATION_LIMIT="1" | @@ -17,5 +17,5 @@ export VIDEO_GENERATION_LIMIT="1" | ||
| 17 | export LIKES_FOR_REWARD="5" | 17 | export LIKES_FOR_REWARD="5" |
| 18 | 18 | ||
| 19 | # pm2 name set | 19 | # pm2 name set |
| 20 | -export BACKEND_NAME="backend_beta" | ||
| 21 | -export FRONTEND_NAME="frontend_beta" | 20 | +export BACKEND_NAME="backend_final" |
| 21 | +export FRONTEND_NAME="frontend_final" |
| @@ -12,8 +12,8 @@ fi | @@ -12,8 +12,8 @@ fi | ||
| 12 | echo "Stopping Z-Image Services..." | 12 | echo "Stopping Z-Image Services..." |
| 13 | 13 | ||
| 14 | if command -v pm2 &> /dev/null; then | 14 | if command -v pm2 &> /dev/null; then |
| 15 | - pm2 stop z-image-backend z-image-frontend | ||
| 16 | - pm2 delete z-image-backend z-image-frontend | 15 | + pm2 stop $BACKEND_NAME $FRONTEND_NAME |
| 16 | + pm2 delete $BACKEND_NAME $FRONTEND_NAME | ||
| 17 | echo "Stopped via PM2." | 17 | echo "Stopped via PM2." |
| 18 | else | 18 | else |
| 19 | # Fallback to port-based kill using variables from .env.sh | 19 | # Fallback to port-based kill using variables from .env.sh |
-
Please register or login to post a comment