mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2026-02-22 12:20:30 +09:00
Enable OOTB support for IPv6
This commit is contained in:
@@ -372,6 +372,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **21.02.26:** - Add support for IPv6 OOTB.
|
||||
* **20.10.25:** - Add libjemalloc2 as runtime dep.
|
||||
* **06.10.24:** - Fix fontconfig cache path.
|
||||
* **13.08.24:** - Rebase to Ubuntu Noble.
|
||||
|
||||
@@ -131,6 +131,7 @@ init_diagram: |
|
||||
"jellyfin:nightly" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "21.02.26:", desc: "Add support for IPv6 OOTB."}
|
||||
- {date: "20.10.25:", desc: "Add libjemalloc2 as runtime dep."}
|
||||
- {date: "06.10.24:", desc: "Fix fontconfig cache path."}
|
||||
- {date: "13.08.24:", desc: "Rebase to Ubuntu Noble."}
|
||||
|
||||
@@ -7,6 +7,19 @@ mkdir -p \
|
||||
/data \
|
||||
/transcode
|
||||
|
||||
# test for and enable IPv6 support
|
||||
if [[ ! -f /config/network.xml ]]; then
|
||||
if test -f /proc/net/if_inet6; then
|
||||
echo '<?xml version="1.0" encoding="utf-8"?>
|
||||
<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<EnableIPv6>true</EnableIPv6>
|
||||
<LocalNetworkAddresses>
|
||||
<string>::</string>
|
||||
</LocalNetworkAddresses>
|
||||
</NetworkConfiguration>' > /config/network.xml
|
||||
fi
|
||||
fi
|
||||
|
||||
# permissions
|
||||
lsiown abc:abc \
|
||||
/config \
|
||||
|
||||
Reference in New Issue
Block a user