mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-14 16:07:13 +08:00
feat: update Resilio-Sync 3.0.3
This commit is contained in:
11
apps/resilio-sync/3.0.3/.env.sample
Normal file
11
apps/resilio-sync/3.0.3/.env.sample
Normal 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"
|
||||
72
apps/resilio-sync/3.0.3/data.yml
Normal file
72
apps/resilio-sync/3.0.3/data.yml
Normal 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
|
||||
25
apps/resilio-sync/3.0.3/docker-compose.yml
Normal file
25
apps/resilio-sync/3.0.3/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
resilio-sync:
|
||||
image: linuxserver/resilio-sync:3.0.3
|
||||
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
|
||||
@@ -2,6 +2,10 @@
|
||||
|
||||
Resilio-sync(原名 BitTorrent Sync)使用 BitTorrent 协议在您的所有设备之间同步文件和文件夹。有免费版和付费版,并且支持这两种版本。官方已放弃V3版本的Docker镜像支持,本版本基于最新发布的v3 Linux版本构建,镜像来自[https://www.linuxserver.io/](https://www.linuxserver.io/)
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
当前版本支持用户映射,简化文件映射和卷的权限管理
|
||||
|
||||
### 端口(-p)
|
||||
|
||||
Reference in New Issue
Block a user