1
0

Update Syncthing to v2 (major) (#1187)

This commit is contained in:
renovate[bot]
2025-08-12 22:00:44 +08:00
committed by GitHub
parent 2451d896e1
commit 471cbd9d35
7 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: "22067"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: 中继服务器端口
labelEn: Relay server port
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,22 @@
networks:
1panel-network:
external: true
services:
syncthing_relaysrv:
command: -pools="" -listen=":22067"
container_name: ${CONTAINER_NAME}
environment:
- PUID=1001
- PGID=1001
- pools=""
image: syncthing/relaysrv:2.0.0
labels:
createdBy: "Apps"
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:22067 # 中继服务器的数据连接端口(必须开启)
# - 22070:22070 # 用于公用的中继服务器池,显示数据传输、客户端数量等状态,可不开启
restart: always
volumes:
- ./data:/var/strelaysrv