diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..87292a7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3' +services: + zerotier: + image: zyclonite/zerotier + container_name: zerotier-one + devices: + - /dev/net/tun + network_mode: host + volumes: + - '/var/lib/zerotier-one:/var/lib/zerotier-one' + cap_add: + - NET_ADMIN + - SYS_ADMIN