推荐你,限时领 “最高1888元红包” 。云产品通用红包,可叠加官网常规优惠使用。
kkFileView/file-online-preview 伴侣/老婆, 一键部署 kkFileView/file-online-preview到阿里云,腾讯云,华为云或者你自己的系统。
kkFileView: https://gitee.com/kekingcn/file-online-preview 项目为文件文档在线预览项目解决方案,对标业内付费产品有【永中office】【office365】【idocv】等,该项目使用流行的spring boot搭建,易上手和部署,基本支持主流办公文档的在线预览,如doc,docx,Excel,pdf,txt,zip,rar,图片等等
基于docker部署,5分钟搞定,节省时间,保证可用。
- 安装docker
- Windows Docker安装: https://docs.docker.com/docker-for-windows/
- Mac Docker 安装: https://docs.docker.com/docker-for-ma/
- Ubuntu Docker 安装: https://docs.docker.com/install/linux/docker-ce/ubuntu/
- 安装docker-compose(可选): https://docs.docker.com/compose/install/
方法1 docker run
- 运行 redis
docker run --name redis --restart=always -p 6379:6379 -d redis:4
- 运行 filePreview
docker run --name filepreview --restart=always -d --network=host datheng/kk_fileview_wife
方法2 docker-compose
保存 文件 kk-filePreview.yml 到目标机器, 然后运行
docker-compose -f filePreview.yml up -d
浏览器打开: http://x.x.x.x:8012 (x.x.x.x 为安装服务器ip地址),如下图,就可以上传和预览啦!
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request