#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:
Guillaume "B.B." Van Hemmen 2024-10-13 18:31:36 +02:00
parent f16ab2ab36
commit f454a1d1ee

View file

@ -26,10 +26,8 @@ services:
deploy:
replicas: 1
restart_policy:
condition: on-failure
condition: any
delay: 5s
max_attempts: 3
window: 120s
resources:
limits:
memory: 3G