diff --git a/apps/zerotier-planet/1.2.16/data.yml b/apps/zerotier-planet/1.2.16/data.yml new file mode 100644 index 00000000..49dcfbc4 --- /dev/null +++ b/apps/zerotier-planet/1.2.16/data.yml @@ -0,0 +1,42 @@ +additionalProperties: + formFields: + - default: 40119 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Console Port + labelZh: 控制台端口 + required: true + rule: paramPort + type: number + - default: 9993 + edit: true + envKey: PANEL_APP_PORT_SERVER + labelEn: ZeroTier Service Port + labelZh: ZeroTier服务端口 + required: true + rule: paramPort + type: number + - default: 40120 + edit: true + envKey: PANEL_APP_PORT_DOWNLOAD + labelEn: Planet/moon file download port + labelZh: planet/moon文件在线下载端口 + required: true + rule: paramPort + type: number + - default: '' + edit: true + envKey: HOST_IP_ADDR + labelEn: Native IP address + labelZh: 本机IP地址 + required: true + type: text + - default: zerotier + edit: true + envKey: PASSWORD + labelEn: Password + labelZh: 密码 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/zerotier-planet/1.2.16/docker-compose.yml b/apps/zerotier-planet/1.2.16/docker-compose.yml new file mode 100644 index 00000000..932a9b1f --- /dev/null +++ b/apps/zerotier-planet/1.2.16/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3' +services: + zerotier-planet: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:4000" + - "${PANEL_APP_PORT_SERVER}:9993" + - "${PANEL_APP_PORT_SERVER}:9993/udp" + - "${PANEL_APP_PORT_DOWNLOAD}:3180" + volumes: + - ./data/zerotier-one:/var/lib/zerotier-one + - ./data/etc:/opt/key-networks/ztncui/etc + environment: + - MYADDR=${HOST_IP_ADDR} + - HTTP_PORT=4000 + - HTTP_ALL_INTERFACES=yes + - ZTNCUI_PASSWD=${PASSWORD} + image: keynetworks/ztncui:1.2.16 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/zerotier-planet/README.md b/apps/zerotier-planet/README.md new file mode 100644 index 00000000..8a58e6ce --- /dev/null +++ b/apps/zerotier-planet/README.md @@ -0,0 +1,62 @@ +# 使用说明 + +- 默认用户名`admin` + +# 原始相关 + +# 一分钟自建zerotier-planet + +私有部署zeroteir-planet服务 +基于 [ztncui](https://github.com/key-networks/ztncui-aio) 整理成 docker-compose.yml 文件. + +**特别感谢** 这个issue中各位用户的贡献,基于此issue中 `@jqtmviyu` 的步骤和`kaaass`的 [mkmoonworld](https://github.com/kaaass/ZeroTierOne/releases/tag/mkmoonworld-1.0) 制作成目前的patch(集成planet和moon)。 + +# 必要条件 + +- 具有公网ip的服务器 +- 安装 docker +- 安装 docker-compose +- 防火墙开放TCP端口 4000/9993/3180 和UDP端口 9993 + +# 用法 + +``` +git clone https://github.com/Jonnyan404/zerotier-planet +OR +git clone https://gitee.com/Jonnyan404/zerotier-planet + +cd zerotier-planet +docker-compose up -d +# 以下步骤为创建planet和moon +docker cp mkmoonworld-x86_64 ztncui:/tmp +docker cp patch.sh ztncui:/tmp +docker exec -it ztncui bash /tmp/patch.sh +docker restart ztncui +``` + +然后浏览器访问 `http://ip:4000` 打开web控制台界面。 + +浏览器访问 `http://ip:3180` 打开planet和moon文件下载页面(亦可在项目根目录的`./ztncui/etc/myfs/`里获取)。 + + +- 用户名:admin +- 密码:mrdoc.fun + +# 各客户端配置planet + +限于篇幅,请到 查阅 + + + +### 私有 zerotier-planet 的优势: +- 解除官方 25 的设备连接数限制 +- 提升手机客户端连接的稳定性 + +# 同类型项目推荐 + +https://github.com/xubiaolin/docker-zerotier-planet + +# Reference Link + +- +- diff --git a/apps/zerotier-planet/data.yml b/apps/zerotier-planet/data.yml new file mode 100644 index 00000000..ef3c5fd5 --- /dev/null +++ b/apps/zerotier-planet/data.yml @@ -0,0 +1,20 @@ +name: ZeroTier-Planet +tags: + - 工具 +title: 具有 Web UI 的 ZeroTier 网络控制器 +type: 工具 +description: 具有 Web UI 的 ZeroTier 网络控制器 +additionalProperties: + key: zerotier-planet + name: ZeroTier-Planet + tags: + - Tool + shortDescZh: 具有 Web UI 的 ZeroTier 网络控制器 + shortDescEn: Zerotier network controller with web UI in a Docker container + type: tool + crossVersionUpdate: true + limit: 1 + recommend: 0 + website: https://github.com/Jonnyan404/zerotier-planet + github: https://github.com/Jonnyan404/zerotier-planet + document: https://github.com/Jonnyan404/zerotier-planet diff --git a/apps/zerotier-planet/logo.png b/apps/zerotier-planet/logo.png new file mode 100644 index 00000000..67320019 Binary files /dev/null and b/apps/zerotier-planet/logo.png differ