Skip to content

Commit

Permalink
Merge pull request #28 from rience/describe-healthcheck-log-lines
Browse files Browse the repository at this point in the history
Describe "log_lines" Config for Healthcheck
  • Loading branch information
dhh authored Sep 14, 2023
2 parents 99798a5 + 02f27f0 commit da2493f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit da2493f

Please sign in to comment.