From f793020fa01c8df86282a55aa941ec7971c48a8c Mon Sep 17 00:00:00 2001 From: okxlin Date: Sun, 12 May 2024 08:58:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0resilio-sync=E5=88=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/resilio-sync/2.8.0/.env.sample | 11 +++ apps/resilio-sync/2.8.0/data.yml | 72 ++++++++++++++++++++ apps/resilio-sync/2.8.0/docker-compose.yml | 26 +++++++ apps/resilio-sync/README.md | 3 + apps/resilio-sync/data.yml | 19 ++++++ apps/resilio-sync/latest/.env.sample | 11 +++ apps/resilio-sync/latest/data.yml | 72 ++++++++++++++++++++ apps/resilio-sync/latest/docker-compose.yml | 26 +++++++ apps/resilio-sync/logo.png | Bin 0 -> 2845 bytes 9 files changed, 240 insertions(+) create mode 100644 apps/resilio-sync/2.8.0/.env.sample create mode 100644 apps/resilio-sync/2.8.0/data.yml create mode 100644 apps/resilio-sync/2.8.0/docker-compose.yml create mode 100644 apps/resilio-sync/README.md create mode 100644 apps/resilio-sync/data.yml create mode 100644 apps/resilio-sync/latest/.env.sample create mode 100644 apps/resilio-sync/latest/data.yml create mode 100644 apps/resilio-sync/latest/docker-compose.yml create mode 100644 apps/resilio-sync/logo.png diff --git a/apps/resilio-sync/2.8.0/.env.sample b/apps/resilio-sync/2.8.0/.env.sample new file mode 100644 index 00000000..822b33bd --- /dev/null +++ b/apps/resilio-sync/2.8.0/.env.sample @@ -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" \ No newline at end of file diff --git a/apps/resilio-sync/2.8.0/data.yml b/apps/resilio-sync/2.8.0/data.yml new file mode 100644 index 00000000..ec012e7c --- /dev/null +++ b/apps/resilio-sync/2.8.0/data.yml @@ -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 diff --git a/apps/resilio-sync/2.8.0/docker-compose.yml b/apps/resilio-sync/2.8.0/docker-compose.yml new file mode 100644 index 00000000..fea933c4 --- /dev/null +++ b/apps/resilio-sync/2.8.0/docker-compose.yml @@ -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 diff --git a/apps/resilio-sync/README.md b/apps/resilio-sync/README.md new file mode 100644 index 00000000..edc4786d --- /dev/null +++ b/apps/resilio-sync/README.md @@ -0,0 +1,3 @@ +# Resilio Sync + +Resilio Sync 是一款由 P2P 技术驱动的快速、可靠、简单的文件同步和共享解决方案。 \ No newline at end of file diff --git a/apps/resilio-sync/data.yml b/apps/resilio-sync/data.yml new file mode 100644 index 00000000..c1ae0d85 --- /dev/null +++ b/apps/resilio-sync/data.yml @@ -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 diff --git a/apps/resilio-sync/latest/.env.sample b/apps/resilio-sync/latest/.env.sample new file mode 100644 index 00000000..822b33bd --- /dev/null +++ b/apps/resilio-sync/latest/.env.sample @@ -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" \ No newline at end of file diff --git a/apps/resilio-sync/latest/data.yml b/apps/resilio-sync/latest/data.yml new file mode 100644 index 00000000..ec012e7c --- /dev/null +++ b/apps/resilio-sync/latest/data.yml @@ -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 diff --git a/apps/resilio-sync/latest/docker-compose.yml b/apps/resilio-sync/latest/docker-compose.yml new file mode 100644 index 00000000..5850448b --- /dev/null +++ b/apps/resilio-sync/latest/docker-compose.yml @@ -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 diff --git a/apps/resilio-sync/logo.png b/apps/resilio-sync/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..c8625229c967ae5e187f3c39f0dd3bed00601346 GIT binary patch literal 2845 zcmV+&3*z*NP)@{C@2;d z79=Dj7#J9kkdQn)Jn!%CFE1|~931)i`QhQ=jEsyL8X6`hCieFBPEJnL)YPV?rh$Qh zR8&+^QBl6WzU%AjXJ= zdU{-3T<7QKnwpyX`}@|`)`o_LadB}&Lqm6WcgV=d!^6W$N=n?^+}POIw6wIYuCA%6 zsbXScOG`^gNJv&zR?g1Ov9YnNtgNdTSC{|*00MMUPE+#c8E^?o000T#Nkl-Evj`vHet@YCW|KHQomQ91zT_o9__MAMQ{NRbtnY=Tz zD=fWR`tNwR1pgsR|Dp9#A^kFibRn&vkS?SZ6w-yXfYB7}An^G2&uX*GBp*&!f8PUJ6*2qj+e1Mb4`rr&#d>h*7iq00lm!tKoFCZv(< zmhhsh&5QA%+gx5@KUvvmb_e5&`>VDmS~g|y&Q)3(2g2>F-<_Ya7g_1vO**a!7VZB$(rBNh*d~!u)`RGZ+9^x1 zIkE{PMx-egRrZ?!Id5Lch}^2BTk=q}rL_@hii7l|y9m5R)-jS-K1|O(FIHGx|N9i&ULIw-;Z;fapgDsagwL@u)1)2%~B$i9RRD0C8`X zC9IAVGbDpFqP3sud2KZG5t)4+Dy$clCUMLX`kLuF=frI&KT^hNa+?uMg2Xg^KYdbl6l{kWy`73QD;W!W_gdD+04A_)!Rt9Os zv^$A8L9P&wPS})VU-R(!r7>zGlcVnwkGC>*T39tb8lep%jU67?&7YJ(f()CtX z-Yy&hW1u5%Mcq~%l<1|g+>wa}7r_|FQKq_6Mo^)bChJsQnH>UykRu1ksb)s$rS146 zRRBW}reEnvY=Z*5Gv*#QtX4OCOZ85a}wBA*;&_5yllJ$Ux@EZSy^bhMJHbYmn z6ZO&vc8FjYtdC}`n-IZkXr+uXE%yL zt&zso;4p50Y#!9 zQFPV565GEvu`c!=U(5`XpwJXsiPJzmf63byV>ut3Ip)b^?gU8t7;-vpT)jOP=KU7y zCk3DI&=YAO1YF@y?rDl9rnKW7dW%CLDUN>mOaE0!R3wY$()IFSF@gx}qm8sTKS@!X zfI2r2RWsYH#6D6b$)c;pdrap9oM_>bx~iE(O|ocMsUI*z>ja$WOC9S3Tt3C&W_VK# z&WTppCQ8<{1I?sc7|jl3vw`>;xf;%&q#hz7T0mrXXSo;&Ayn@wqz{QW9jty}W<{pCykBBDCQ!w<=I zisRvq)G00y#g*sRZ|n3~K7P7B*sbEqM?^(vbAB6Dgmy(mXeFu$?ajm8s|Xe2P0Xh< zR)0~(`p9D$D|sqo4R*4O^@-P4d#fN5or(SzndnTkf=qNKT0tf{6RjW