Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Try spread updates to save on resources

Michal Rutka0d565e765961
diff --git a/swarm/swarm-docker-compose.yml b/swarm/swarm-docker-compose.yml
index 1518a73ee..fb547f39e 100644
--- a/swarm/swarm-docker-compose.yml
+++ b/swarm/swarm-docker-compose.yml
@@ -96,6 +96,8 @@ services:
# Configure uninterupted updates with rollback
update_config:
failure_action: rollback
+ order: start-first
+ delay: 30m
# This configuration uses the manager's deployment-specific data such as map tiles,
# console application static resources (HTML, JS, CSS), extensions, and other
@@ -198,6 +200,10 @@ services:
# Configure uninterrupted updates with rollback
update_config:
failure_action: rollback
+ update_config:
+ failure_action: rollback
+ order: start-first
+ delay: 10s
keycloak:
@@ -252,6 +258,8 @@ services:
# Configure uninterupted updates with rollback
update_config:
failure_action: rollback
+ order: start-first
+ delay: 10m
# This configuration stores postgresql data in a Docker volume. You manage this volume
# independently from your stack with with 'docker volume ls', 'docker volume rm', etc.
@@ -287,4 +295,6 @@ services:
# Configure uninterupted updates with rollback
update_config:
failure_action: rollback
+ order: start-first
+ delay: 20m