zerotier-docker/docker-compose.yml
Jafner 9a0c9cddc3
Add docker-compose file for convenience
This is functionally identical to the docker run command in the readme.
2021-08-13 03:59:21 -07:00

14 lines
271 B
YAML

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