fix: map Nginx 8281 to host 8080 to restore Apache proxy connection
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 7m53s

This commit is contained in:
jade
2026-07-24 23:52:55 +09:00
parent 4dcc85eff0
commit 4015207b86
32 changed files with 47 additions and 789 deletions

View File

@@ -50,19 +50,15 @@ jobs:
echo "Building and starting $TARGET containers sequentially to prevent OOM..."
ACTIVE_PROFILE=dev docker compose build gateway-$TARGET
ACTIVE_PROFILE=dev docker compose build tool-sms-$TARGET
ACTIVE_PROFILE=dev docker compose build tool-email-$TARGET
ACTIVE_PROFILE=dev docker compose build tool-other-$TARGET
ACTIVE_PROFILE=dev docker compose build tool-payment-$TARGET
ACTIVE_PROFILE=dev docker compose up -d gateway-$TARGET
sleep 5
ACTIVE_PROFILE=dev docker compose up -d tool-sms-$TARGET
sleep 5
ACTIVE_PROFILE=dev docker compose up -d tool-email-$TARGET
sleep 5
ACTIVE_PROFILE=dev docker compose up -d tool-other-$TARGET
sleep 5
ACTIVE_PROFILE=dev docker compose up -d tool-payment-$TARGET
# 4.5. 제거할 컨테이너 (포트 충돌 방지, Nginx 제외)
echo "Finding and killing legacy containers holding our ports..."
@@ -97,7 +93,7 @@ jobs:
echo "Restarting Nginx to apply rollback..."
docker compose restart nginx || true
echo "Stopping failed $TARGET containers..."
docker compose stop gateway-$TARGET tool-sms-$TARGET tool-email-$TARGET tool-other-$TARGET tool-payment-$TARGET
docker compose stop gateway-$TARGET tool-sms-$TARGET tool-other-$TARGET
exit 1 # ?<3F>이?<3F>라???<3F>패 처리 (구버?<3F><>? 그<>?<3F>??<3F><>???
fi
@@ -111,13 +107,13 @@ jobs:
cp ./nginx/${OLD_TARGET}.conf ./nginx/conf.d/default.conf
docker compose exec -T nginx nginx -s reload || true
echo "Stopping failed $TARGET containers..."
docker compose stop gateway-$TARGET tool-sms-$TARGET tool-email-$TARGET tool-other-$TARGET tool-payment-$TARGET
docker compose stop gateway-$TARGET tool-sms-$TARGET tool-other-$TARGET
exit 1
fi
# 7. 구버??종료
echo "Traffic switched successfully. Stopping old $OLD_TARGET containers..."
docker compose stop gateway-$OLD_TARGET tool-sms-$OLD_TARGET tool-email-$OLD_TARGET tool-other-$OLD_TARGET tool-payment-$OLD_TARGET
docker compose stop gateway-$OLD_TARGET tool-sms-$OLD_TARGET tool-other-$OLD_TARGET
# 가비<EAB080>? <20>?<3F><>
docker system prune -f