Graylog2 / Graylog2/docker-compose

entrypoint wait-for-it misconfigured - it will start regardless of the state of other containers

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
improvement triaged
Dominant language
Shell
Stars
592
Forks
160
PR merge metrics
No merged PRs in 30d

Description

Currently the graylog container implements the wait-for-it script on startup, checking that opensearch etc... has started. Currently it will start the graylog container regardless of the state of the target container after the 15 second wait time.

The readme from the wait-for-it script mentions that this is expected behaviour, and that to turn give it a blocking function you need to add the --strict flag:

> The subcommand will be executed regardless if the service is up or not. If you wish to execute the subcommand only if the service is up, add the --strict argument.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.