From 75595bba0e6aa1335cf54e2013e5bda79da77f0a Mon Sep 17 00:00:00 2001 From: aleidk Date: Tue, 10 Dec 2024 19:09:49 -0300 Subject: [PATCH] build: update stack config --- docker-stack.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker-stack.yaml b/docker-stack.yaml index 55782e5..5a0d209 100644 --- a/docker-stack.yaml +++ b/docker-stack.yaml @@ -9,6 +9,15 @@ services: networks: - reverse-proxy deploy: + rollback_config: + failure_action: continue + update_config: + delay: 2s + failure_action: rollback + order: start-first + placement: + constraints: + - node.labels.services_kind==projects labels: - traefik.enable=true - traefik.http.routers.personal-page.rule=Host(`alecodes.page`)