mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
feat:添加zerotier-planet到列表 (#1158)
This commit is contained in:
parent
026876fbd5
commit
8cf227e2ff
42
apps/zerotier-planet/1.2.16/data.yml
Normal file
42
apps/zerotier-planet/1.2.16/data.yml
Normal file
@ -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
|
27
apps/zerotier-planet/1.2.16/docker-compose.yml
Normal file
27
apps/zerotier-planet/1.2.16/docker-compose.yml
Normal file
@ -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
|
62
apps/zerotier-planet/README.md
Normal file
62
apps/zerotier-planet/README.md
Normal file
@ -0,0 +1,62 @@
|
||||
# 使用说明
|
||||
|
||||
- 默认用户名`admin`
|
||||
|
||||
# 原始相关
|
||||
|
||||
# 一分钟自建zerotier-planet
|
||||
|
||||
私有部署zeroteir-planet服务
|
||||
基于 [ztncui](https://github.com/key-networks/ztncui-aio) 整理成 docker-compose.yml 文件.
|
||||
|
||||
**特别感谢** <https://github.com/Jonnyan404/zerotier-planet/issues/11#issuecomment-1059961262> 这个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
|
||||
|
||||
限于篇幅,请到 <https://www.mrdoc.fun/doc/443/> 查阅
|
||||
|
||||
|
||||
|
||||
### 私有 zerotier-planet 的优势:
|
||||
- 解除官方 25 的设备连接数限制
|
||||
- 提升手机客户端连接的稳定性
|
||||
|
||||
# 同类型项目推荐
|
||||
|
||||
https://github.com/xubiaolin/docker-zerotier-planet
|
||||
|
||||
# Reference Link
|
||||
|
||||
- <https://www.mrdoc.fun/doc/443/>
|
||||
- <https://github.com/key-networks/ztncui-aio>
|
20
apps/zerotier-planet/data.yml
Normal file
20
apps/zerotier-planet/data.yml
Normal file
@ -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
|
BIN
apps/zerotier-planet/logo.png
Normal file
BIN
apps/zerotier-planet/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
Loading…
Reference in New Issue
Block a user