1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00
dockerfiles/n2n/arm/docker-compose.yml
2019-07-10 01:20:00 +08:00

13 lines
325 B
YAML

edge:
image: easypi/n2n-arm
entrypoint: ["edge"]
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:
- /dev/net/tun
cap_add:
- NET_ADMIN
net: host
restart: unless-stopped