🔧 Fix Gitea Actions for zero-downtime deployment

- Create new ci-cd-zero-downtime-fixed.yml workflow
- Disable old workflows that try to access port 3000 directly
- New workflow uses docker-compose.zero-downtime.yml
- Health checks now use nginx on port 80 instead of direct port 3000
- Fixes the 'Connection refused' errors in Gitea Actions

 Actions now properly work with zero-downtime nginx setup
This commit is contained in:
2025-09-13 23:20:51 +02:00
parent 3dbe80edcc
commit 116dac89b3
5 changed files with 174 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ warning() {
check_health() {
log "Checking application health..."
if curl -f http://localhost:3000/api/health > /dev/null 2>&1; then
if curl -f http://localhost/api/health > /dev/null 2>&1; then
success "Application is healthy"
return 0
else