diff --git a/Dockerfile b/Dockerfile index 6441348..f7605d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,7 @@ RUN git config --global advice.detachedHead false RUN git clone --depth 1 --branch v0 https://github.com/oldnick85/yggdrasil_get_keys.git /UTILS/yggdrasil_get_keys RUN python3 -m pip install --break-system-packages -r /UTILS/yggdrasil_get_keys/requirements.txt # script to find yggdrasil public peers -RUN git clone --depth 1 --branch v3 https://github.com/oldnick85/yggdrasil_find_public_peers.git /UTILS/yggdrasil_find_public_peers +RUN git clone --depth 1 --branch v4 https://github.com/oldnick85/yggdrasil_find_public_peers.git /UTILS/yggdrasil_find_public_peers RUN python3 -m pip install --break-system-packages -r /UTILS/yggdrasil_find_public_peers/requirements.txt # save peers to use in case of unavailable repository RUN python3 /UTILS/yggdrasil_find_public_peers/yggdrasil_find_public_peers.py \ diff --git a/entrypoint.sh b/entrypoint.sh index a35ee16..ab79939 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,8 @@ python3 /UTILS/yggdrasil_find_public_peers/yggdrasil_find_public_peers.py \ --yggdrasil-peers-json="/UTILS/yggdrasil_find_public_peers/public_peers.json" \ --parallel=4 \ --pings=10 \ - --best=5 \ + --best=6 \ + --max-from-country=2 \ --ping-interval=0.5 sysctl net.ipv6.conf.all.disable_ipv6=0 || true # start YGGDRASIL