Merge pull request #3 from Jafner/patch-1

Add docker-compose file for convenience
This commit is contained in:
Lukas Prettenthaler 2021-08-17 15:33:26 +02:00 committed by GitHub
commit 5eefd058f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
docker-compose.yml Normal file
View File

@ -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