Fix health check port to 5100 (host port)

This commit is contained in:
SysAdmin 2025-09-27 08:03:06 +01:00
parent d57f3ddd59
commit e75411dab9

View File

@ -73,7 +73,7 @@ deploy:vps:
# Health check
echo "Running health checks..."
for i in 1 2 3 4 5 6; do
if curl -f -s http://localhost:5000/api/catalog/products > /dev/null 2>&1; then
if curl -f -s http://localhost:5100/api/catalog/products > /dev/null 2>&1; then
echo "✅ Deployment successful - health check passed"
exit 0
fi
@ -121,7 +121,7 @@ rollback:vps:
# Health check
sleep 30
if curl -f -s http://localhost:5000/api/catalog/products > /dev/null 2>&1; then
if curl -f -s http://localhost:5100/api/catalog/products > /dev/null 2>&1; then
echo "✅ Rollback complete"
exit 0
else