fix: adicionar porta no deploy
All checks were successful
Deploy ASP.NET MVC to OCI / build-and-deploy (push) Successful in 4m27s

This commit is contained in:
Ricardo Carneiro 2025-09-15 19:04:37 -03:00
parent a5f2975bcb
commit ad7676a05d

View File

@ -93,17 +93,16 @@ jobs:
docker run -d \ docker run -d \
--name convertit \ --name convertit \
--restart unless-stopped \ --restart unless-stopped \
-p 8082:8080 \
--network host \ --network host \
--memory=2g \ --memory=2g \
--cpus=1.5 \ --cpus=1.5 \
--health-cmd="curl -f http://localhost:8080/health || exit 1" \ --health-cmd="curl -f http://localhost:8082/health || exit 1" \
--health-interval=30s \ --health-interval=30s \
--health-timeout=10s \ --health-timeout=10s \
--health-retries=3 \ --health-retries=3 \
--health-start-period=60s \ --health-start-period=60s \
-e ASPNETCORE_ENVIRONMENT=Production \ -e ASPNETCORE_ENVIRONMENT=Production \
-e ASPNETCORE_URLS="http://+:8080" \ -e ASPNETCORE_URLS="http://+:8082" \
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \ -e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
-e DOTNET_USE_POLLING_FILE_WATCHER=true \ -e DOTNET_USE_POLLING_FILE_WATCHER=true \
-e DOTNET_EnableDiagnostics=0 \ -e DOTNET_EnableDiagnostics=0 \