From 02f27f055c7084f987af9a675cfec633a4cdf464 Mon Sep 17 00:00:00 2001 From: Krzysztof Adamski Date: Wed, 13 Sep 2023 09:56:45 +0200 Subject: [PATCH] Describe "log_lines" Config for Healthcheck --- _docs/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_docs/configuration.md b/_docs/configuration.md index 220aa68..992b937 100644 --- a/_docs/configuration.md +++ b/_docs/configuration.md @@ -688,6 +688,8 @@ The healthcheck allows for an optional `max_attempts` setting, which will attemp The HTTP health checks assume that the `curl` command is available inside the container. If that's not the case, use the healthcheck's `cmd` option to specify an alternative check that the container supports. +When starting container healthcheck by default will only show last 50 lines. That might be not enough when something goes wrong - so you can add `log_lines` params and specify larger number if required. + ## Using rolling deployments When deploying to large numbers of hosts, you might prefer not to restart your services on every host at the same time.