fix: novo run
All checks were successful
Deploy ASP.NET MVC to OCI / build-and-deploy (push) Successful in 11m7s
All checks were successful
Deploy ASP.NET MVC to OCI / build-and-deploy (push) Successful in 11m7s
This commit is contained in:
parent
21d08452d8
commit
ec77c94e5b
@ -97,11 +97,11 @@ jobs:
|
|||||||
# -e ASPNETCORE_ENVIRONMENT=Production \
|
# -e ASPNETCORE_ENVIRONMENT=Production \
|
||||||
# -e ASPNETCORE_URLS="http://+:8080;https://+:8081" \
|
# -e ASPNETCORE_URLS="http://+:8080;https://+:8081" \
|
||||||
# registry.redecarneir.us/onlyoneaccesstemplate:latest
|
# registry.redecarneir.us/onlyoneaccesstemplate:latest
|
||||||
|
# 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 \
|
-p 80:8080 \
|
||||||
-p 443:8081 \
|
|
||||||
--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:8080/health || exit 1" \
|
||||||
@ -110,7 +110,7 @@ jobs:
|
|||||||
--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;https://+:8081" \
|
-e ASPNETCORE_URLS="http://+:8080" \
|
||||||
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \
|
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \
|
||||||
-e DOTNET_USE_POLLING_FILE_WATCHER=true \
|
-e DOTNET_USE_POLLING_FILE_WATCHER=true \
|
||||||
-e DOTNET_EnableDiagnostics=0 \
|
-e DOTNET_EnableDiagnostics=0 \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user