Skip to content

Make server listen on both IPv6 and IPv4 by default to fix docker healthcheck #148

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

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

Pix3l01
Copy link
Contributor

@Pix3l01 Pix3l01 commented Jun 18, 2024

As I stated in #108, with docker added support to IPv6, the healthcheck fails since the server only listens on IPv4 by default. The best fix is to make the server listen on both IPv6 and IPv4 by default.

Otherwise, this can be fixed by replacing localhost with 127.0.0.1 in the healthchecks

@sigaloid sigaloid merged commit 213481e into redlib-org:main Jun 20, 2024
2 of 3 checks passed
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.

2 participants