Set the restart condition to a supported one
This commit is contained in:
parent
e06bcc48f8
commit
4d6b320bdb
|
@ -21,7 +21,7 @@ services:
|
|||
placement:
|
||||
constraints: [node.role == worker]
|
||||
restart_policy:
|
||||
condition: always
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
|
@ -38,7 +38,7 @@ services:
|
|||
placement:
|
||||
constraints: [node.role == worker]
|
||||
restart_policy:
|
||||
condition: always
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
|
@ -62,7 +62,7 @@ services:
|
|||
placement:
|
||||
constraints: {{ open_asfa_db_constraints }}
|
||||
restart_policy:
|
||||
condition: always
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
|
|
Loading…
Reference in New Issue