From 1ccc43514ce72d9c594d2faf74b4c4f2294fe8a9 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 9 Jul 2019 14:16:19 +0800 Subject: [PATCH] update n2n --- n2n/arm/docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/n2n/arm/docker-compose.yml b/n2n/arm/docker-compose.yml index cabeb83..d934c7d 100644 --- a/n2n/arm/docker-compose.yml +++ b/n2n/arm/docker-compose.yml @@ -1,9 +1,12 @@ -n2n: +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"] - net: host - privileged: true extra_hosts: - supernode:1.2.3.4 + devices: + - /dev/net/tun + cap_add: + - NET_ADMIN + net: host restart: unless-stopped