fix: acessar host para permitir acesso ao seq
All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 5s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 15m15s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Successful in 1m33s
BCards Deployment Pipeline / Deploy to Staging (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 5s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 15m15s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Successful in 1m33s
BCards Deployment Pipeline / Deploy to Staging (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
This commit is contained in:
parent
8dfcc991f3
commit
f97fbc3367
@ -228,12 +228,14 @@ jobs:
|
||||
docker run -d \
|
||||
--name bcards-prod \
|
||||
--restart unless-stopped \
|
||||
-p 8080:8080 \
|
||||
--network host \
|
||||
-p 8080:8080 \
|
||||
-e ASPNETCORE_ENVIRONMENT=Production \
|
||||
-e ASPNETCORE_URLS=http://+:8080 \
|
||||
-e MongoDb__ConnectionString="mongodb://admin:c4rn31r0@129.146.116.218:27017,141.148.162.114:27017/BCardsDB?replicaSet=rs0&authSource=admin" \
|
||||
-e MongoDb__DatabaseName="BCardsDB" \
|
||||
-e Logging__LogLevel__Default=Debug \
|
||||
-e Serilog__SeqUrl="http://localhost:5343" \
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
|
||||
# Debug: verificar configuração aplicada
|
||||
@ -268,12 +270,14 @@ jobs:
|
||||
docker run -d \
|
||||
--name bcards-prod \
|
||||
--restart unless-stopped \
|
||||
--network host \
|
||||
-p 8080:8080 \
|
||||
-e ASPNETCORE_ENVIRONMENT=Production \
|
||||
-e ASPNETCORE_URLS=http://+:8080 \
|
||||
-e MongoDb__ConnectionString="mongodb://admin:c4rn31r0@129.146.116.218:27017,141.148.162.114:27017/BCardsDB?replicaSet=rs0&authSource=admin" \
|
||||
-e MongoDb__DatabaseName="BCardsDB" \
|
||||
-e Logging__LogLevel__Default=Debug \
|
||||
-e Serilog__SeqUrl="http://localhost:5342" \
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
|
||||
# Debug: verificar configuração aplicada
|
||||
@ -351,9 +355,11 @@ jobs:
|
||||
docker run -d \
|
||||
--name bcards-staging \
|
||||
--restart unless-stopped \
|
||||
--network host \
|
||||
-p 8080:8080 \
|
||||
-e ASPNETCORE_ENVIRONMENT=Staging \
|
||||
-e ASPNETCORE_URLS=http://+:8080 \
|
||||
-e Serilog__SeqUrl="http://localhost:5341" \
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}
|
||||
|
||||
echo "✅ Servidor Staging atualizado"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user