Skip to content

Added IPv6 check script and modified nginx service to use it (fixes #2174).#2201

Open
cerebrate wants to merge 1 commit intoshaarli:masterfrom
cerebrate:master
Open

Added IPv6 check script and modified nginx service to use it (fixes #2174).#2201
cerebrate wants to merge 1 commit intoshaarli:masterfrom
cerebrate:master

Conversation

@cerebrate
Copy link
Copy Markdown

@cerebrate cerebrate commented Mar 30, 2026

This patch adds a quick script using tools already in the container to check for IPv6 being not present, disabled, or otherwise unbindable, and if the :: address can't be bound, edits the IPv6 listener line out of the nginx.conf before nginx starts.

With this in place, the Shaarli container should start up and function correctly whether IPv6 is available or not.

Fixes #2174.

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.

Shaarli Docker unable to start in an IPv4-only environment

1 participant