Add Docker multiarch support

This commit is contained in:
Dmitriy Pervin 2025-09-02 00:31:12 +05:00
parent 89a3718d59
commit 48f9de3b5c
3 changed files with 94 additions and 0 deletions

View file

@ -9,5 +9,10 @@ if [ ! -f "$CONF_DIR/config.conf" ]; then
yggdrasil --genconf > "$CONF_DIR/config.conf"
fi
if [ -n "$ALLOW_IPV6_FORWARDING" ]; then
echo "set sysctl -w net.ipv6.conf.all.forwarding=1"
sysctl -w net.ipv6.conf.all.forwarding=1
fi
yggdrasil --useconf < "$CONF_DIR/config.conf"
exit $?