diff --git a/Dockerfile b/Dockerfile index 32d23df..8a404be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.authors="admin@minenet.at" LABEL org.opencontainers.image.source="https://git.minenet.at/ich777/docker-wireguard-server" RUN apt-get update && \ - apt-get -y install --no-install-recommends wireguard iproute2 iptables iputils-ping sudo && \ + apt-get -y install --no-install-recommends wireguard iproute2 iptables iputils-ping sudo qrencode && \ rm -rf initrd.img initrd.img.old vmlinuz vmlinuz.old /boot && \ rm -rf /var/lib/apt/lists/* @@ -20,6 +20,7 @@ ENV WG_NET_IP=10.50.0.1 ENV WG_NET_SUBNET=29 ENV PEERS=5 ENV GENERATE_PSK=true +ENV GENERATE_QR=true ENV SETUP_IPTABLES=true ENV NAT_DESTINATION="YOURIP:PORT" ENV NAT_PROTOCOL="tcp"