fix: achar o mongodb do rathole
This commit is contained in:
parent
6d11759ad1
commit
7452110062
@ -99,23 +99,25 @@ jobs:
|
|||||||
# registry.redecarneir.us/onlyoneaccesstemplate:latest
|
# registry.redecarneir.us/onlyoneaccesstemplate:latest
|
||||||
# Executa o novo container apenas com HTTP
|
# Executa o novo container apenas com HTTP
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name onlyoneaccesstemplate \
|
--name onlyoneaccesstemplate \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
-p 80:8080 \
|
--add-host="k3ss1:172.17.0.1" \
|
||||||
--memory=2g \
|
--add-host="k3sw2:172.17.0.1" \
|
||||||
--cpus=1.5 \
|
-p 80:8080 \
|
||||||
--health-cmd="curl -f http://localhost:8080/health || exit 1" \
|
--memory=2g \
|
||||||
--health-interval=30s \
|
--cpus=1.5 \
|
||||||
--health-timeout=10s \
|
--health-cmd="curl -f http://localhost:8080/health || exit 1" \
|
||||||
--health-retries=3 \
|
--health-interval=30s \
|
||||||
--health-start-period=60s \
|
--health-timeout=10s \
|
||||||
-e ASPNETCORE_ENVIRONMENT=Production \
|
--health-retries=3 \
|
||||||
-e ASPNETCORE_URLS="http://+:8080" \
|
--health-start-period=60s \
|
||||||
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \
|
-e ASPNETCORE_ENVIRONMENT=Production \
|
||||||
-e DOTNET_USE_POLLING_FILE_WATCHER=true \
|
-e ASPNETCORE_URLS="http://+:8080" \
|
||||||
-e DOTNET_EnableDiagnostics=0 \
|
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \
|
||||||
-e DOTNET_RUNNING_IN_CONTAINER=true \
|
-e DOTNET_USE_POLLING_FILE_WATCHER=true \
|
||||||
registry.redecarneir.us/onlyoneaccesstemplate:latest
|
-e DOTNET_EnableDiagnostics=0 \
|
||||||
|
-e DOTNET_RUNNING_IN_CONTAINER=true \
|
||||||
|
registry.redecarneir.us/onlyoneaccesstemplate:latest
|
||||||
|
|
||||||
# Limpa imagens não utilizadas
|
# Limpa imagens não utilizadas
|
||||||
docker image prune -f
|
docker image prune -f
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user