1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update n2n

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

View File

@ -1,9 +1,12 @@
n2n: edge:
image: easypi/n2n-arm image: easypi/n2n-arm
entrypoint: ["edge"] 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", "-f"]
net: host
privileged: true
extra_hosts: extra_hosts:
- supernode:1.2.3.4 - supernode:1.2.3.4
devices:
- /dev/net/tun
cap_add:
- NET_ADMIN
net: host
restart: unless-stopped restart: unless-stopped