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

request: include CURL or WGET in built images so that we can test docker healthcheck within docker-compose #80

Open
kevcube opened this issue Jul 11, 2022 · 1 comment

Comments

@kevcube
Copy link

kevcube commented Jul 11, 2022

Docker-compose (and docker run)'s healthchecks execute a command inside the container, and fusionauth's healthcheck lives at an HTTP endpoint, so in order to test it from inside the container we need either wget or curl available.

One possible solution is to install these tools in the built image, another possible solution is switching to alpine which includes wget by default and may make built containers slimmer.

@mooreds
Copy link
Contributor

mooreds commented May 16, 2023

I ran into this today.

I wanted to have a healthcheck, but can't use curl to call http://localhost:9011/api/status to indicate that the container is loaded.

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

No branches or pull requests

2 participants