forked from extern/zerotier-docker
Add docker-compose file for convenience
This is functionally identical to the docker run command in the readme.
This commit is contained in:
parent
9b5623ac02
commit
9a0c9cddc3
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user