deploy: start-first updates to reduce downtime

This commit is contained in:
Esdras Renan 2025-11-19 20:53:41 -03:00
parent 8787599ac7
commit eebe1a717f

View file

@ -38,8 +38,11 @@ services:
replicas: 1
update_config:
parallelism: 1
order: stop-first
# start-first evita downtime: sobe o novo task antes de parar o anterior
order: start-first
failure_action: rollback
rollback_config:
order: start-first
resources:
limits:
memory: "2G"