mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-13 09:51:04 +01:00
Merge pull request #3 from Jafner/patch-1
Add docker-compose file for convenience
This commit is contained in:
commit
5eefd058f9
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