1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-10 22:31:28 +02:00

update n2n

This commit is contained in:
kev
2019-07-10 01:20:00 +08:00
parent 1ccc43514c
commit ff937c77a4
5 changed files with 29 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update \
&& apt install -y gnupg lsb-release net-tools wget \
&& apt install -y gnupg iptables lsb-release net-tools wget \
&& wget -qO- http://packages.ntop.org/apt/ntop.key | apt-key add - \
&& { \
echo "deb http://apt.ntop.org/stretch_pi armhf/"; \

View File

@@ -1,7 +1,7 @@
edge:
image: easypi/n2n-arm
entrypoint: ["edge"]
command: ["-dn2n0", "-cmynetwork", "-kmypassword", "-mAA:BB:CC:DD:EE:FF", "-a192.168.100.1", "-p50001", "-lsupernode:7654", "-f"]
command: ["-dn2n0", "-cmynetwork", "-kmypassword", "-mAA:BB:CC:DD:EE:FF", "-a192.168.100.1", "-p50001", "-lsupernode:7654", "-r", "-f"]
extra_hosts:
- supernode:1.2.3.4
devices: