公共服务 kkFileView 4.1 文件预览 Docker 一键部署

官方文档

https://kkview.cn/zh-cn/docs/production.html

镜像导入

doc 复制代码
# 网络环境方便访问docker中央仓库
docker pull keking/kkfileview:4.1.0

# 网络环境不方便访问docker中央仓库
wget https://kkview.cn/resource/kkFileView-4.1.0-docker.tar
docker load -i kkFileView-4.1.0-docker.tar

一键部署

yml 复制代码
version: '3'
services:
  kkfileview:
    image: keking/kkfileview:4.1.0
    container_name: kkfileview
    working_dir: /app
    restart: always
    ports:
      - "8012:8012"
    environment:
      - TZ=Asia/Shanghai
      - LANG=C.UTF-8
    volumes:
      - ./app:/data/app

访问

http://127.0.0.1:8012

相关推荐
小晶晶京京44 分钟前
day34-LNMP详解
linux·运维·服务器
fengyehongWorld1 小时前
Linux crontab定时任务
linux·运维
碎像2 小时前
Linux上配置环境变量
linux·运维·服务器
40kuai3 小时前
kubernetes中数据存储etcd
容器·kubernetes·etcd
敲上瘾3 小时前
Linux系统cgroups资源精细化控制基础
linux·测试工具·docker·压力测试·cgroups
sunflower_w4 小时前
linux I2C核心、总线与设备驱动
linux·运维·服务器
myzzb4 小时前
基于uiautomation的自动化流程RPA开源开发演示
运维·python·学习·算法·自动化·rpa
Harvey_D4 小时前
【部署K8S集群】 1、安装前环境准备配置
云原生·容器·kubernetes
伊成5 小时前
Docker 部署 Nginx 完整指南
nginx·docker·容器
网硕互联的小客服5 小时前
Apache 如何支持SHTML(SSI)的配置方法
运维·服务器·网络·windows·php