#0000 - Modify restart policy in docker-compose.yml
Changed the restart policy condition from "on-failure" to "any" to ensure the container restarts on any circumstance. Removed the maximum attempts and window restrictions to allow continuous attempts without limitation.
This commit is contained in:
parent
f16ab2ab36
commit
f454a1d1ee
1 changed files with 1 additions and 3 deletions
|
@ -26,10 +26,8 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: any
|
||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 3
|
|
||||||
window: 120s
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 3G
|
memory: 3G
|
||||||
|
|
Loading…
Reference in a new issue