From ec77c94e5b078090d21763f77850435bc4102171 Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro <71648276+ricarneiro@users.noreply.github.com> Date: Tue, 3 Jun 2025 22:07:49 -0300 Subject: [PATCH] fix: novo run --- .gitea/workflows/deploy.yml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 2c1fd50..90eb63c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -97,26 +97,26 @@ jobs: # -e ASPNETCORE_ENVIRONMENT=Production \ # -e ASPNETCORE_URLS="http://+:8080;https://+:8081" \ # registry.redecarneir.us/onlyoneaccesstemplate:latest + # Executa o novo container apenas com HTTP docker run -d \ - --name onlyoneaccesstemplate \ - --restart unless-stopped \ - -p 80:8080 \ - -p 443:8081 \ - --memory=2g \ - --cpus=1.5 \ - --health-cmd="curl -f http://localhost:8080/health || exit 1" \ - --health-interval=30s \ - --health-timeout=10s \ - --health-retries=3 \ - --health-start-period=60s \ - -e ASPNETCORE_ENVIRONMENT=Production \ - -e ASPNETCORE_URLS="http://+:8080;https://+:8081" \ - -e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \ - -e DOTNET_USE_POLLING_FILE_WATCHER=true \ - -e DOTNET_EnableDiagnostics=0 \ - -e DOTNET_RUNNING_IN_CONTAINER=true \ - registry.redecarneir.us/onlyoneaccesstemplate:latest - + --name onlyoneaccesstemplate \ + --restart unless-stopped \ + -p 80:8080 \ + --memory=2g \ + --cpus=1.5 \ + --health-cmd="curl -f http://localhost:8080/health || exit 1" \ + --health-interval=30s \ + --health-timeout=10s \ + --health-retries=3 \ + --health-start-period=60s \ + -e ASPNETCORE_ENVIRONMENT=Production \ + -e ASPNETCORE_URLS="http://+:8080" \ + -e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \ + -e DOTNET_USE_POLLING_FILE_WATCHER=true \ + -e DOTNET_EnableDiagnostics=0 \ + -e DOTNET_RUNNING_IN_CONTAINER=true \ + registry.redecarneir.us/onlyoneaccesstemplate:latest + # Limpa imagens não utilizadas docker image prune -f