mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-03 12:42:10 +08:00
feat: update Verysync 2.20.1
This commit is contained in:
@@ -16,10 +16,34 @@ additionalProperties:
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: /data
|
||||
- default: 3000
|
||||
edit: true
|
||||
envKey: PUBLIC_RELAY_PORT
|
||||
labelEn: Public Relay Port
|
||||
labelZh: 公共中继端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 22027
|
||||
edit: true
|
||||
envKey: LOCAL_AREA_NETWORK_UDP_DISCOVERY_PORT_1
|
||||
labelEn: Local Area Network UDP discovery port 1
|
||||
labelZh: 内网udp发现端口1
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 22037
|
||||
edit: true
|
||||
envKey: LOCAL_AREA_NETWORK_UDP_DISCOVERY_PORT_2
|
||||
labelEn: Local Area Network UDP discovery port 2
|
||||
labelZh: 内网udp发现端口2
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: VERYSYNC_DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据目录
|
||||
required: true
|
||||
type: text
|
||||
type: text
|
||||
@@ -1,14 +1,23 @@
|
||||
services:
|
||||
verysync:
|
||||
image: jonnyan404/verysync:v2.20.1
|
||||
image: jonnyan404/verysync:latest
|
||||
container_name: verysync
|
||||
environment:
|
||||
- PORT=${PANEL_APP_PORT_HTTP}
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8886" # Web管理端口
|
||||
- "${VERYSYNC_TRANSFER_PORT}:22330" # 数据传输端口
|
||||
# - "3000:3000" # 公共中继端口(可选)
|
||||
# - "22027:22027/udp" # 内网UDP发现端口(可选)
|
||||
# - "22037:22037/udp" # 内网UDP发现端口(可选)
|
||||
# pooneyy继续剽窃,死全家
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
- ${VERYSYNC_TRANSFER_PORT}:22330
|
||||
- ${PUBLIC_RELAY_PORT}:3000
|
||||
- ${LOCAL_AREA_NETWORK_UDP_DISCOVERY_PORT_1}:22027/udp
|
||||
- ${LOCAL_AREA_NETWORK_UDP_DISCOVERY_PORT_2}:22037/udp
|
||||
volumes:
|
||||
- "${VERYSYNC_DATA_PATH}:/data"
|
||||
restart: unless-stopped
|
||||
- ${VERYSYNC_DATA_PATH}:/data
|
||||
restart: always
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
- 1panel-network
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user