Commit c25d76f6 authored by Nacho's avatar Nacho
Browse files

Configura tiempos de restart_policy

parent 87880c77
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -19,7 +19,8 @@ services:
          - node.role == manager
      restart_policy:
        condition: on-failure
        max_attempts: 3
        delay: 1m
        window: 3m
      resources:
        limits:
          cpus: '0.25'
@@ -43,7 +44,8 @@ services:
          - node.role == worker
      restart_policy:
        condition: on-failure
        max_attempts: 3
        delay: 1m
        window: 3m
      resources:
        limits:
          cpus: '0.50'