Bowen Wang
Bowen Wang
https://github.com/kekingcn/kkFileView/blob/master/server/src/main/config/application.properties 配置文件有自动清理策略,可以修改配置文件,并挂载到对应的docker路径来覆盖默认的
可以使用我基于4.4.0版本构建的镜像`docker pull wangbowen/kkfileview:4.4.0`
`docker pull wangbowen/kkfileview:4.4.2`,基于最新的jdk 21,spring boot 3构建的镜像,可以下载使用
> > docker pull wangbowen/kkfileview:4.4.2 > > 拉不下来呢 https://hub.docker.com/r/wangbowen/kkfileview 镜像是存在的,是不是镜像源的问题,换一个镜像源再拉取试试
It happened to me
仓库里面的基础镜像文件没有更新。需要自己构建的话,参考https://github.com/iwangbowen/kkFileView/tree/newer_libreoffice 我的项目,使用了java 21,还修复了带批注的word预览的问题,可以查看我的提交记录。 也可以直接使用我构建的镜像 `docker pull wangbowen/kkfileview:4.4.2`
你需要在操作系统里面先安装这些字体
有需要临时应急的,可以使用我构建的预览时去掉批注信息的镜像 `docker pull wangbowen/kkfileview:4.4.1`
参考 #596 进行了修复。 我重新制作了镜像,使用`docker pull wangbowen/kkfileview:4.4.2`下载使用。这个镜像基于 9f3b45a4c74e501695bffd851b60e920980fd4a8 的代码制作。 相比于`4.4.0`版本的显著区别是JDK升级到了21,spring boot升级到了3.5.6。 有两个参数`KK_OFFICE_HOME`和`KK_TRUST_HOST`需要加到`docker-compose.yml`文件中。`KK_OFFICE_HOME`是因为使用了不同版本的`LibreOffice`。`KK_TRUST_HOST`由提交 9f3b45a4c74e501695bffd851b60e920980fd4a8 引入。参考下面的`docker-compose.yml`文件。 ```yml version: '3.7' services: kkfileview: image: wangbowen/kkfileview:4.4.2 container_name: kkfileview restart: unless-stopped ports: - 40011:40011 environment: - TZ=Asia/Shanghai...
基于 https://github.com/iwangbowen/kkFileView/tree/newer_libreoffice 这个分支的提交 [f8fe4421ebb2493b81876d414f682030e1bd6d5b ](https://github.com/iwangbowen/kkFileView/commit/f8fe4421ebb2493b81876d414f682030e1bd6d5b)制作的镜像