1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/n2n/docker-compose.yml

21 lines
442 B
YAML
Raw Normal View History

2019-07-09 08:09:16 +02:00
version: '3.5'
services:
supernode:
image: vimagick/n2n
ports:
- "5645:5645/udp"
- "7654:7654/udp"
restart: unless-stopped
edge:
image: vimagick/n2n
entrypoint: ["edge"]
2019-07-09 19:20:00 +02:00
command: ["-dn2n0", "-cmynetwork", "-kmypassword", "-mAA:BB:CC:DD:EE:FF", "-a192.168.100.1", "-p50001", "-lsupernode:7654", "-r", "-f"]
2019-07-09 08:09:16 +02:00
devices:
- /dev/net/tun
cap_add:
- NET_ADMIN
restart: unless-stopped