diff --git a/docker-compose-production.yml b/docker-compose-production.yml index a92c50d..21beb46 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -28,8 +28,8 @@ services: constraints: [ node.role == manager ] restart_policy: condition: on-failure - delay: 5s - max_attempts: 5 + delay: 10s + max_attempts: 100 window: 120s secrets: @@ -42,4 +42,4 @@ networks: rmq-net: name: rmq-net external: true - tg-bot-net: \ No newline at end of file + tg-bot-net: diff --git a/docker-compose.yml b/docker-compose.yml index 52fa1a2..7f5faf6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,8 +35,8 @@ services: deploy: restart_policy: condition: on-failure - delay: 5s - max_attempts: 5 + delay: 10s + max_attempts: 100 window: 120s secrets: