fix: deploy.sh deploy-auto.sh Dockerfile docker-compose.yml gitea-post-receive-hook.sh

This commit is contained in:
2026-05-31 16:18:53 -05:00
parent 0f29f8ef61
commit 4c6e207f28
6 changed files with 11 additions and 142 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
set -e
APP_DIR="/opt/cirux"
APP_DIR="/home/ubuntu/cirux"
LOG_FILE="/var/log/cirux-deploy.log"
BRANCH="main"
@@ -40,7 +40,7 @@ sleep 10
RETRIES=5
while [ $RETRIES -gt 0 ]; do
if curl -sf http://localhost:3000/api/health > /dev/null 2>&1; then
if curl -sf http://localhost:3020/api/health > /dev/null 2>&1; then
echo "$(date '+%Y-%m-%d %H:%M:%S') - Deploy successful ✅" >> "$LOG_FILE"
exit 0
fi