feat:添加resilio-sync到列表

This commit is contained in:
okxlin 2024-05-12 08:58:42 +08:00
parent 108eb0c843
commit f793020fa0
9 changed files with 240 additions and 0 deletions

View File

@ -0,0 +1,11 @@
CONTAINER_NAME="resilio-sync"
PANEL_APP_PORT_HTTP="40237"
PANEL_APP_PORT_SYNC="55555"
CONFIG_PATH="./data/config"
DOWNLOADS_PATH="./data/downloads"
EXTERNAL_MOUNT_PATH="./data/mnt"
INTERNAL_MOUNT_PATH="/mnt"
SYNC_PATH="./data/sync"
TIME_ZONE="Asia/Shanghai"
USER_ID="1000"
GROUP_ID="1000"

View File

@ -0,0 +1,72 @@
additionalProperties:
formFields:
- default: "40237"
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
type: number
edit: true
- default: "55555"
envKey: PANEL_APP_PORT_SYNC
labelEn: Sync Port
labelZh: 同步端口
required: true
type: number
edit: true
- default: "./data/config"
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
required: true
type: text
edit: true
- default: "./data/downloads"
envKey: DOWNLOADS_PATH
labelEn: Downloads Path
labelZh: 下载路径
required: true
type: text
edit: true
- default: "./data/sync"
envKey: SYNC_PATH
labelEn: Sync Path
labelZh: 同步路径
required: true
type: text
edit: true
- default: "./data/mnt"
envKey: EXTERNAL_MOUNT_PATH
labelEn: External mount path
labelZh: 外部挂载路径
required: true
type: text
edit: true
- default: "/mnt"
envKey: INTERNAL_MOUNT_PATH
labelEn: Internal mount path
labelZh: 内部挂载路径
required: true
type: text
edit: true
- default: "1000"
envKey: USER_ID
labelEn: User ID
labelZh: 用户 ID
required: true
type: number
edit: true
- default: "1000"
envKey: GROUP_ID
labelEn: Group ID
labelZh: 用户组 ID
required: true
type: number
edit: true
- default: "Asia/Shanghai"
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
edit: true

View File

@ -0,0 +1,26 @@
version: '3'
services:
resilio-sync:
image: linuxserver/resilio-sync:2.8.0
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8888"
- "${PANEL_APP_PORT_SYNC}:55555"
volumes:
- ${CONFIG_PATH}:/config
- ${DOWNLOADS_PATH}:/downloads
- ${SYNC_PATH}:/sync
- ${EXTERNAL_MOUNT_PATH}:${INTERNAL_MOUNT_PATH}
environment:
- PUID=${USER_ID}
- PGID=${GROUP_ID}
- TZ=${TIME_ZONE}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
# Resilio Sync
Resilio Sync 是一款由 P2P 技术驱动的快速、可靠、简单的文件同步和共享解决方案。

View File

@ -0,0 +1,19 @@
name: Resilio Sync
tags:
- 实用工具
title: 文件同步工具
description: 文件同步工具
additionalProperties:
key: resilio-sync
name: Resilio Sync
tags:
- Tool
shortDescZh: 文件同步工具
shortDescEn: File Sync Tool
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://www.resilio.com
github: https://www.resilio.com
document: https://help.resilio.com

View File

@ -0,0 +1,11 @@
CONTAINER_NAME="resilio-sync"
PANEL_APP_PORT_HTTP="40237"
PANEL_APP_PORT_SYNC="55555"
CONFIG_PATH="./data/config"
DOWNLOADS_PATH="./data/downloads"
EXTERNAL_MOUNT_PATH="./data/mnt"
INTERNAL_MOUNT_PATH="/mnt"
SYNC_PATH="./data/sync"
TIME_ZONE="Asia/Shanghai"
USER_ID="1000"
GROUP_ID="1000"

View File

@ -0,0 +1,72 @@
additionalProperties:
formFields:
- default: "40237"
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
type: number
edit: true
- default: "55555"
envKey: PANEL_APP_PORT_SYNC
labelEn: Sync Port
labelZh: 同步端口
required: true
type: number
edit: true
- default: "./data/config"
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
required: true
type: text
edit: true
- default: "./data/downloads"
envKey: DOWNLOADS_PATH
labelEn: Downloads Path
labelZh: 下载路径
required: true
type: text
edit: true
- default: "./data/sync"
envKey: SYNC_PATH
labelEn: Sync Path
labelZh: 同步路径
required: true
type: text
edit: true
- default: "./data/mnt"
envKey: EXTERNAL_MOUNT_PATH
labelEn: External mount path
labelZh: 外部挂载路径
required: true
type: text
edit: true
- default: "/mnt"
envKey: INTERNAL_MOUNT_PATH
labelEn: Internal mount path
labelZh: 内部挂载路径
required: true
type: text
edit: true
- default: "1000"
envKey: USER_ID
labelEn: User ID
labelZh: 用户 ID
required: true
type: number
edit: true
- default: "1000"
envKey: GROUP_ID
labelEn: Group ID
labelZh: 用户组 ID
required: true
type: number
edit: true
- default: "Asia/Shanghai"
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
edit: true

View File

@ -0,0 +1,26 @@
version: '3'
services:
resilio-sync:
image: linuxserver/resilio-sync:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8888"
- "${PANEL_APP_PORT_SYNC}:55555"
volumes:
- ${CONFIG_PATH}:/config
- ${DOWNLOADS_PATH}:/downloads
- ${SYNC_PATH}:/sync
- ${EXTERNAL_MOUNT_PATH}:${INTERNAL_MOUNT_PATH}
environment:
- PUID=${USER_ID}
- PGID=${GROUP_ID}
- TZ=${TIME_ZONE}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/resilio-sync/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB