Sign inSign up

zqh2021/kkfileview

By zqh2021

Updated about 14 hours ago

kkfileview4.4.0

Image
Web servers
0

1.4K

zqh2021/kkfileview repository overview

Reasons for Construction

  • The official does not have the latest version of kkfileview v4.4.0 image, so this image was built.
  • King/kkfileview:4.1.0 image does not support multiple architectures.

Version used

Build this image using kkFileView v4.4.0 version.

Example usage

name: kkfileview
services:
  kkfileview:
    build:
      context: .
      dockerfile: Dockerfile-new
    image: zqh2021/kkfileview:4.4.0
    container_name: kkfileview
    restart: unless-stopped
    network_mode: bridge
    ports:
      - 8012:8012
    environment:
      - TZ=Asia/Shanghai
      #- KK_OFFICE_PREVIEW_TYPE=pdf
      - KK_OFFICE_PREVIEW_SWITCH_DISABLED=true
      #- KK_FILE_UPLOAD_DISABLE=true
      - KK_PROHIBIT="exe,dll,dat,sh,bat,js"
      #- INDEX_SHOW=false
    ulimits:
      nofile:
        soft: 65536
        hard: 65536
# 说明:
#  KK_FILE_UPLOAD_DISABLE 是否禁用首页文件上传
#  KK_PROHIBIT 禁止上传类型
#  INDEX_SHOW 是否显示说明文档

Explanation of Environmental Variables

  • Please refer to the environment improvement instructions in the application.properties file.
  • On this basis, add an environment variable INDEX_SHOW to control whether to display the instruction document.
  • Trust site whitelist configuration trust.host default value changed to *.

构建原由

  • 官方没有最新版本的kkfileview v4.4.0镜像,所以构建此镜像。
  • 官方 king/kkfileview:4.1.0镜像不支持多架构。

使用的版本

使用 kkFileView v4.4.0版本构建此镜像。

使用示例

参考上面的示例

环境变量说明

  • 查看application.properties配置文件中的环境变量说明。
  • 在此基础上新增环境变量 INDEX_SHOW 控制是否显示说明文档。
  • 信任站点白名单配置 trust.host 默认值改为 *。

项目说明

kkfileview v4.4.0项目源码除了添加INDEX_SHOW环境变量控制 index首页显示与否,其它功能均未改动,可放心使用。

Tag summary

Content type

Image

Digest

sha256:c7be66fc2

Size

856.2 MB

Last updated

about 14 hours ago

docker pull zqh2021/kkfileview:5.0.2