Scale web service to 2 replicas for zero-downtime rollouts
This commit is contained in:
parent
58319ec0f9
commit
c3eb2d3301
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ services:
|
|||
RELEASE_SHA: "${RELEASE_SHA:-dev}"
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
update_config:
|
||||
parallelism: 1
|
||||
# start-first evita downtime: sobe o novo task antes de parar o anterior
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue