fix: porta #11

Merged
ricardo merged 1 commits from feat/live-preview into main 2025-08-18 02:38:02 +00:00
2 changed files with 7 additions and 11 deletions
Showing only changes of commit 5d21374ae2 - Show all commits

View File

@ -228,7 +228,7 @@ jobs:
docker run -d \ docker run -d \
--name bcards-prod \ --name bcards-prod \
--restart unless-stopped \ --restart unless-stopped \
-p 5002:8080 \ -p 8080:8080 \
-e ASPNETCORE_ENVIRONMENT=Production \ -e ASPNETCORE_ENVIRONMENT=Production \
-e ASPNETCORE_URLS=http://+:8080 \ -e ASPNETCORE_URLS=http://+:8080 \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
@ -261,7 +261,7 @@ jobs:
docker run -d \ docker run -d \
--name bcards-prod \ --name bcards-prod \
--restart unless-stopped \ --restart unless-stopped \
-p 5002:8080 \ -p 8080:8080 \
-e ASPNETCORE_ENVIRONMENT=Production \ -e ASPNETCORE_ENVIRONMENT=Production \
-e ASPNETCORE_URLS=http://+:8080 \ -e ASPNETCORE_URLS=http://+:8080 \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
@ -276,11 +276,11 @@ jobs:
# Verifica Servidor 1 # Verifica Servidor 1
echo "Verificando Servidor 1 (ARM)..." echo "Verificando Servidor 1 (ARM)..."
ssh -o StrictHostKeyChecking=no ubuntu@141.148.162.114 'curl -f http://localhost:5002/health || echo "⚠️ Servidor 1 pode não estar respondendo"' ssh -o StrictHostKeyChecking=no ubuntu@141.148.162.114 'curl -f http://localhost:8080/health || echo "⚠️ Servidor 1 pode não estar respondendo"'
# Verifica Servidor 2 # Verifica Servidor 2
echo "Verificando Servidor 2 (ARM)..." echo "Verificando Servidor 2 (ARM)..."
ssh -o StrictHostKeyChecking=no ubuntu@129.146.116.218 'curl -f http://localhost:5002/health || echo "⚠️ Servidor 2 pode não estar respondendo"' ssh -o StrictHostKeyChecking=no ubuntu@129.146.116.218 'curl -f http://localhost:8080/health || echo "⚠️ Servidor 2 pode não estar respondendo"'
deploy-staging: deploy-staging:
name: Deploy to Staging (x86 - Local) name: Deploy to Staging (x86 - Local)
@ -337,7 +337,7 @@ jobs:
docker run -d \ docker run -d \
--name bcards-staging \ --name bcards-staging \
--restart unless-stopped \ --restart unless-stopped \
-p 5002:8080 \ -p 8080:8080 \
-e ASPNETCORE_ENVIRONMENT=Staging \ -e ASPNETCORE_ENVIRONMENT=Staging \
-e ASPNETCORE_URLS=http://+:8080 \ -e ASPNETCORE_URLS=http://+:8080 \
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}
@ -351,7 +351,7 @@ jobs:
sleep 30 sleep 30
echo "Verificando Servidor Staging (x86)..." echo "Verificando Servidor Staging (x86)..."
ssh -o StrictHostKeyChecking=no ubuntu@192.168.0.100 'curl -f http://localhost:5002/health || echo "⚠️ Servidor staging pode não estar respondendo"' ssh -o StrictHostKeyChecking=no ubuntu@192.168.0.100 'curl -f http://localhost:8080/health || echo "⚠️ Servidor staging pode não estar respondendo"'
cleanup: cleanup:
name: Cleanup Old Resources name: Cleanup Old Resources

View File

@ -15,11 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{02EA
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Pipeline", "Pipeline", "{3F3DEEDF-9E0A-434D-8130-1FBAC43FD1F7}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Pipeline", "Pipeline", "{3F3DEEDF-9E0A-434D-8130-1FBAC43FD1F7}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
docker-compose.staging.yml = docker-compose.staging.yml .gitea\workflows\deploy-bcards.yml = .gitea\workflows\deploy-bcards.yml
docker-compose.yml = docker-compose.yml
Dockerfile.release = Dockerfile.release
.gitea\workflows\pr-validation.yml = .gitea\workflows\pr-validation.yml
.gitea\workflows\release-deploy.yml = .gitea\workflows\release-deploy.yml
EndProjectSection EndProjectSection
EndProject EndProject
Global Global