1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

update n2n

This commit is contained in:
kev 2019-07-09 14:16:19 +08:00
parent 847070a156
commit 1ccc43514c

@ -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