diff --git a/apps/cloudreve/3.8.0/.env.sample b/apps/cloudreve/3.8.0/.env.sample new file mode 100644 index 00000000..b3b1122f --- /dev/null +++ b/apps/cloudreve/3.8.0/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="cloudreve" +PANEL_APP_PORT_HTTP="40033" +UPLOAD_PATH="./data/uploads" +TMP_PATH="./data/data" \ No newline at end of file diff --git a/apps/cloudreve/3.8.0/data.yml b/apps/cloudreve/3.8.0/data.yml new file mode 100644 index 00000000..5b4d7f9c --- /dev/null +++ b/apps/cloudreve/3.8.0/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40033 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/uploads + edit: true + envKey: UPLOAD_PATH + labelEn: The upload file save path + labelZh: 上传文件保存路径 + required: true + type: text + - default: ./data/data + edit: true + envKey: TMP_PATH + labelEn: Temp folder path + labelZh: 临时文件夹路径 + required: true + type: text diff --git a/apps/cloudreve/3.8.0/data/cloudreve.db b/apps/cloudreve/3.8.0/data/cloudreve.db new file mode 100644 index 00000000..e69de29b diff --git a/apps/cloudreve/3.8.0/data/conf.ini b/apps/cloudreve/3.8.0/data/conf.ini new file mode 100644 index 00000000..e69de29b diff --git a/apps/cloudreve/3.8.0/docker-compose.yml b/apps/cloudreve/3.8.0/docker-compose.yml new file mode 100644 index 00000000..fcb02453 --- /dev/null +++ b/apps/cloudreve/3.8.0/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3' +services: + cloudreve: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5212" + volumes: + - "${UPLOAD_PATH}:/cloudreve/uploads" + - "${TMP_PATH}:/data" + - "./data/conf.ini:/cloudreve/conf.ini" + - "./data/cloudreve.db:/cloudreve/cloudreve.db" + - "./data/avatar:/cloudreve/avatar" + image: cloudreve/cloudreve:3.8.0 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/cloudreve/README.md b/apps/cloudreve/README.md new file mode 100644 index 00000000..2e918951 --- /dev/null +++ b/apps/cloudreve/README.md @@ -0,0 +1,104 @@ +[English Version](https://github.com/cloudreve/Cloudreve/blob/master/README.md) + +
+ + 主页 • + 演示站 • + 讨论社区 • + 文档 • + 下载 • + Telegram 群组 • + 许可证 +
+ + + + +## :sparkles: 特性 + +* :cloud: 支持本机、从机、七牛、阿里云 OSS、腾讯云 COS、又拍云、OneDrive (包括世纪互联版) 、S3兼容协议 作为存储端 +* :outbox_tray: 上传/下载 支持客户端直传,支持下载限速 +* 💾 可对接 Aria2 离线下载,可使用多个从机节点分担下载任务 +* 📚 在线 压缩/解压缩、多文件打包下载 +* 💻 覆盖全部存储策略的 WebDAV 协议支持 +* :zap: 拖拽上传、目录上传、流式上传处理 +* :card_file_box: 文件拖拽管理 +* :family_woman_girl_boy: 多用户、用户组、多存储策略 +* :link: 创建文件、目录的分享链接,可设定自动过期 +* :eye_speech_bubble: 视频、图像、音频、 ePub 在线预览,文本、Office 文档在线编辑 +* :art: 自定义配色、黑暗模式、PWA 应用、全站单页应用、国际化支持 +* :rocket: All-In-One 打包,开箱即用 +* 🌈 ... ... + +## :hammer_and_wrench: 部署 + +下载适用于您目标机器操作系统、CPU架构的主程序,直接运行即可。 + +```shell +# 解压程序包 +tar -zxvf cloudreve_VERSION_OS_ARCH.tar.gz + +# 赋予执行权限 +chmod +x ./cloudreve + +# 启动 Cloudreve +./cloudreve +``` + +以上为最简单的部署示例,您可以参考 [文档 - 起步](https://docs.cloudreve.org/) 进行更为完善的部署。 + +## :gear: 构建 + +自行构建前需要拥有 `Go >= 1.18`、`node.js`、`yarn`、`zip`, [goreleaser](https://goreleaser.com/intro/) 等必要依赖。 + +#### 安装 goreleaser + +```shell +go install github.com/goreleaser/goreleaser@latest +``` + +#### 克隆代码 + +```shell +git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git +``` + +#### 编译项目 + +```shell +goreleaser build --clean --single-target --snapshot +``` + +## :alembic: 技术栈 + +* [Go](https://golang.org/) + [Gin](https://github.com/gin-gonic/gin) +* [React](https://github.com/facebook/react) + [Redux](https://github.com/reduxjs/redux) + [Material-UI](https://github.com/mui-org/material-ui) + +## :scroll: 许可证 + +GPL V3 diff --git a/apps/cloudreve/data.yml.bak b/apps/cloudreve/data.yml.bak new file mode 100644 index 00000000..79454714 --- /dev/null +++ b/apps/cloudreve/data.yml.bak @@ -0,0 +1,20 @@ +name: Cloudreve +tags: + - 工具 +title: 支持多家云存储的云盘系统 +type: 工具 +description: 支持多家云存储的云盘系统 +additionalProperties: + key: cloudreve + name: Cloudreve + tags: + - Tool + shortDescZh: 支持多家云存储的云盘系统 + shortDescEn: A cloud disk system that supports multiple cloud storage + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://cloudreve.org/ + github: https://github.com/cloudreve/Cloudreve + document: https://docs.cloudreve.org/ diff --git a/apps/cloudreve/latest/.env.sample b/apps/cloudreve/latest/.env.sample new file mode 100644 index 00000000..b3b1122f --- /dev/null +++ b/apps/cloudreve/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="cloudreve" +PANEL_APP_PORT_HTTP="40033" +UPLOAD_PATH="./data/uploads" +TMP_PATH="./data/data" \ No newline at end of file diff --git a/apps/cloudreve/latest/data.yml b/apps/cloudreve/latest/data.yml new file mode 100644 index 00000000..5b4d7f9c --- /dev/null +++ b/apps/cloudreve/latest/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40033 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data/uploads + edit: true + envKey: UPLOAD_PATH + labelEn: The upload file save path + labelZh: 上传文件保存路径 + required: true + type: text + - default: ./data/data + edit: true + envKey: TMP_PATH + labelEn: Temp folder path + labelZh: 临时文件夹路径 + required: true + type: text diff --git a/apps/cloudreve/latest/data/cloudreve.db b/apps/cloudreve/latest/data/cloudreve.db new file mode 100644 index 00000000..e69de29b diff --git a/apps/cloudreve/latest/data/conf.ini b/apps/cloudreve/latest/data/conf.ini new file mode 100644 index 00000000..e69de29b diff --git a/apps/cloudreve/latest/docker-compose.yml b/apps/cloudreve/latest/docker-compose.yml new file mode 100644 index 00000000..0519d328 --- /dev/null +++ b/apps/cloudreve/latest/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3' +services: + cloudreve: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5212" + volumes: + - "${UPLOAD_PATH}:/cloudreve/uploads" + - "${TMP_PATH}:/data" + - "./data/conf.ini:/cloudreve/conf.ini" + - "./data/cloudreve.db:/cloudreve/cloudreve.db" + - "./data/avatar:/cloudreve/avatar" + image: cloudreve/cloudreve:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/cloudreve/logo.png b/apps/cloudreve/logo.png new file mode 100644 index 00000000..11fd1a35 Binary files /dev/null and b/apps/cloudreve/logo.png differ