feat: add Docker Compose IPv6 support (#5676)#7134
Closed
VedantMadane wants to merge 1 commit intolouislam:masterfrom
Closed
feat: add Docker Compose IPv6 support (#5676)#7134VedantMadane wants to merge 1 commit intolouislam:masterfrom
VedantMadane wants to merge 1 commit intolouislam:masterfrom
Conversation
Add compose.ipv6.yaml override for users who need IPv6 support to monitor IPv6-only endpoints. The default compose.yaml uses the default bridge network which does not have IPv6 enabled when using docker compose. Usage: docker compose -f compose.yaml -f compose.ipv6.yaml up -d Requires Docker daemon IPv6 configuration in daemon.json. See: https://docs.docker.com/config/daemon/ipv6/ Made-with: Cursor
Contributor
|
Hello! This pull request does not follow the repository's PR template and is being closed automatically. |
Contributor
|
Hello and thanks for lending a paw to Uptime Kuma! 🐻👋 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds IPv6 support for Docker Compose deployments to fix issue #5676.
When using \docker compose\ with the default compose.yaml, the container does not have IPv6 connectivity even when the Docker daemon has IPv6 enabled. This prevents monitoring IPv6-only endpoints.
Solution
Usage
\\bash
docker compose -f compose.yaml -f compose.ipv6.yaml up -d
\\
Requires Docker daemon IPv6 configuration in etc/docker/daemon.json
Why an override file?
Adding enable_ipv6: true directly to the main compose.yaml would break users whose Docker daemon does not have IPv6 enabled. The override approach allows IPv6 users to opt-in without affecting the default experience.
Closes #5676