Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox: disable wiremock healthcheck #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

czeni
Copy link

@czeni czeni commented Mar 7, 2025

The port configuration (--port) of wiremock-based images (latest/3.12.1) is not propagated to its iherited
healtcheck command, thus it uses the default 8080 port in the test command's URL:

"Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "curl -f http://localhost:8080/__admin/health || exit 1"
                ],
                "StartPeriod": 5000000000,
                "StartInterval": 100000000
            },

This means all wiremock-based containers eventually become unhealthy, which can cause trouble in sandbox-based tests cases.

Possible solution could be to set the command explicitly, but it seems unnecessary in a sandbox environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant