File tree Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 11 zerotier-client :
2- image : zyclonite/zerotier
32 container_name : zerotier
4- devices :
5- - /dev/net/tun
3+ image : " zyclonite/zerotier "
4+ restart : unless-stopped
65 network_mode : host
76 volumes :
8- - /var/lib/zerotier-one:/var/lib/zerotier-one
7+ - ./volumes/zerotier-one:/var/lib/zerotier-one
8+ devices :
9+ - " /dev/net/tun:/dev/net/tun"
910 cap_add :
10- - NET_ADMIN
11- - SYS_ADMIN
11+ - NET_ADMIN
12+ - SYS_ADMIN
1213
Original file line number Diff line number Diff line change 11 zerotier-router :
2- image : zyclonite/zerotier:router
32 container_name : zerotier
4- devices :
5- - /dev/net/tun
3+ image : " zyclonite/zerotier:router"
4+ restart : unless-stopped
5+ environment :
6+ - TZ=${TZ:-Etc/UTC}
7+ - PUID=1000
8+ - PGID=1000
9+ # - ZEROTIER_ONE_NETWORK_IDS=yourNetworkID
10+ - ZEROTIER_ONE_LOCAL_PHYS=eth0 wlan0
11+ - ZEROTIER_ONE_USE_IPTABLES_NFT=true
12+ - ZEROTIER_ONE_GATEWAY_MODE=both
613 network_mode : host
14+ x-ports :
15+ - " 9993:9993"
716 volumes :
8- - /var/lib/zerotier-one:/var/lib/zerotier-one
17+ - ./volumes/zerotier-one:/var/lib/zerotier-one
18+ devices :
19+ - " /dev/net/tun:/dev/net/tun"
920 cap_add :
10- - NET_ADMIN
11- - SYS_ADMIN
12- - NET_RAW
13- restart : unless-stopped
14- environment :
15- - TZ=Etc/UTC
16- - ZEROTIER_ONE_LOCAL_PHYS=eth0
17- # - ZEROTIER_ONE_NETWORK_IDS=yourNetworkID
18- - ZEROTIER_ONE_USE_IPTABLES_NFT=true
19- - ZEROTIER_ONE_GATEWAY_MODE=both
20- - PUID=1000
21- - PGID=1000
21+ - NET_ADMIN
22+ - SYS_ADMIN
23+ - NET_RAW
2224
You can’t perform that action at this time.
0 commit comments