fix: achar o mongodb do rathole

This commit is contained in:
Ricardo Carneiro 2025-06-03 23:13:10 -03:00
parent 6d11759ad1
commit 7452110062

View File

@ -99,23 +99,25 @@ jobs:
# registry.redecarneir.us/onlyoneaccesstemplate:latest
# Executa o novo container apenas com HTTP
docker run -d \
--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
--name onlyoneaccesstemplate \
--restart unless-stopped \
--add-host="k3ss1:172.17.0.1" \
--add-host="k3sw2:172.17.0.1" \
-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