1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2025-03-28 15:26:43 +00:00
parent ac5e961535
commit 27f68e15de
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CONTAINER_NAME="zerotier-planet"
PANEL_APP_PORT_DOWNLOAD="40120"
PANEL_APP_PORT_HTTP="40119"
PANEL_APP_PORT_SERVER="9993"
HOST_IP_ADDR=""
PASSWORD="zerotier_password"

View 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

View File

@@ -0,0 +1,26 @@
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.18
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true