Pretty sure I've got everything necessary.

This commit is contained in:
William Miceli
2018-03-13 17:10:26 -04:00
parent b45625c80e
commit a9a929749a
3 changed files with 27 additions and 13 deletions

View File

@@ -0,0 +1,16 @@
version: "3"
services:
zerotier:
container_name: #(Optional) Custom name for the container, rather than a generated default name.
image: zerotier/zerotier-containerized:latest
cap_add:
- NET_ADMIN
- SYS_ADMIN
command: -d
devices:
- "/dev/net/tun"
network_mode:
- "host"
restart: unless-stopped
volumes:
- "${CONFIG_STORAGE}:/var/lib/zerotier-one"