Add ZeroTier (#5691)

Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
Andrij Davidandnmfretz authored and GitHub committed 2026-06-15 12:27:09 +10:00
1 parent 552a441425
commit 6e91bc1108
5 files changed
+85

No files matched your search

View File
Whitespace-only changes.
+40
View File
@@ -0,0 +1,40 @@
version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_ZEROTIER_WEB_IP
APP_PORT: 8080
zerotier:
# Requires root: NET_ADMIN cap and /dev/net/tun device access for VPN tunnel management.
image: zerotier/zerotier:1.14.2@sha256:575d150a0e09fbee1a7580625b361040a7f78f46cbfbe5016effe812abe202ff
restart: on-failure
stop_grace_period: 1m
network_mode: host
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
ZEROTIER_API_SECRET: ${APP_PASSWORD}
volumes:
- ${APP_DATA_DIR}/data:/var/lib/zerotier-one
- ${APP_DATA_DIR}/local.conf:/var/lib/zerotier-one/local.conf:ro
web:
# Built from github.com/andrijdavid/umbrel-zerotier-web (FastAPI + uvicorn).
# Calls the daemon's management API with the seeded token configured above.
image: ghcr.io/andrijdavid/umbrel-zerotier-web:0.1.1@sha256:0177ec5254860e3ad0c59e174034816496bd0a63cda203a2c663f08b3c205063
restart: on-failure
depends_on:
- zerotier
environment:
ZT_HOST: $GATEWAY_IP
ZT_PORT: "9993"
ZT_AUTHTOKEN: ${APP_PASSWORD}
PUID: "1000"
PGID: "1000"
networks:
default:
ipv4_address: $APP_ZEROTIER_WEB_IP
+1
View File
@@ -0,0 +1 @@
export APP_ZEROTIER_WEB_IP="10.21.22.51"
+7
View File
@@ -0,0 +1,7 @@
{
"settings": {
"allowManagementFrom": [
"${APP_ZEROTIER_WEB_IP}/32"
]
}
}
+37
View File
@@ -0,0 +1,37 @@
manifestVersion: 1
id: zerotier
category: networking
name: ZeroTier
version: "1.14.2"
tagline: Access your Umbrel from anywhere with a peer-to-peer mesh VPN
description: >-
ZeroTier is an open-source, peer-to-peer mesh VPN that connects your Umbrel
to your private ZeroTier networks. Once connected, you can access your
Umbrel dashboard and apps from other authorized devices using your Umbrel's
ZeroTier IP address.
After installing, open the app to see your node ID, then join any
ZeroTier network by pasting its 16-character network ID. Authorize your
Umbrel from ZeroTier Central (or your self-hosted controller), and you're
on the network.
ZeroTier works across NATs and firewalls, using end-to-end encryption so
your devices can communicate securely as if they were on the same LAN.
developer: ZeroTier, Inc.
website: https://www.zerotier.com
dependencies: []
repo: https://github.com/zerotier/ZeroTierOne
support: https://discuss.zerotier.com
port: 8241
gallery:
- 1.webp
- 2.webp
- 3.webp
path: ""
deterministicPassword: false
torOnly: false
submitter: Andrij David
submission: https://github.com/getumbrel/umbrel-apps/pull/5691
releaseNotes: ""