fix: deploy.sh deploy-auto.sh Dockerfile docker-compose.yml gitea-post-receive-hook.sh
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
||||
# Example: ./deploy.sh cirux.silvioalzate.shop silvio@example.com
|
||||
|
||||
DOMAIN=${1:-cirux.silvioalzate.shop}
|
||||
EMAIL=${2:-silvio@example.com}
|
||||
EMAIL=${2:-help@silvioalzate.shop}
|
||||
APP_DIR=$(pwd)
|
||||
|
||||
echo "🚀 EnFlow Deploy Script"
|
||||
@@ -80,8 +80,8 @@ docker-compose up -d
|
||||
echo "✅ Verifying deployment..."
|
||||
sleep 10
|
||||
|
||||
if curl -sf http://localhost:3000/api/health > /dev/null 2>&1; then
|
||||
echo "✅ App is responding on port 3000"
|
||||
if curl -sf http://localhost:3020/api/health > /dev/null 2>&1; then
|
||||
echo "✅ App is responding on port 3020"
|
||||
else
|
||||
echo "⚠️ App health check failed. Check logs: docker-compose logs cirux-app"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user