Giter Site home page Giter Site logo

kodexplorer's Introduction

kodexplorer for all platform

已经使用github的buildx action实现构建支持多cpu的镜像

  1. 基于kodexplorer 4.40
  2. 增加github上所有找得到的插件(街机模拟器除外)
  3. 数据与/var/www/html文件夹分离,可挂载到/koddata并设置为工作目录
  4. 增加AriaNg为轻应用+服务(5218端口),该应用入口默认设置在桌面菜单栏

使用方法

docker run -d \
  --name kodexplorer \
  --hostname=kodexplorer \
  -p 5210:5210 \
  -p 5218:5218 \
  -v /your_path/koddata:/koddata \
  -v /var/media/ssdDATA:/koddata/Group/public/home/ssdDATA \
  --restart unless-stopped \
  dennischancs/kodexplorer

5210为kodexplorer端口 5218为AriaNg端口,需要安装aria2c,推荐使用p3terx/aria2-pro docker镜像。

[optinal] kodexplorer的AriaNg轻应用,默认调用本地/static/ariang/index.html,本地文件调用速度比从5218端口加载速度要慢。

可在容器启动后,进kodexplorer的设置,分别修改桌面菜单栏/static/ariang/index.html字段,改为http://ip:5218

效果展示

1、admin:不再看到烦人的/var/www/html

admin

2、demo:可以访问挂载的外置磁盘

demo

3、【插件展示】毕升office离线服务(arm版)

bisheng

bisheng2

4、kodexplorer+bisheng office共8个容器

containers

bisheng3

5、AriaNg

ariang

office离线编辑服务的部署

onlyoffice插件的使用

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

kodexplorer_onlyoffice插件:sit17/kodexplorer_onlyoffice: kodexplorer_onlyoffice

ONLYOFFICE/DocumentServer社区版【无arm64版】

# onlyoffice/documentserver为社区版镜像
sudo docker run -i -t -d -p 80:80 onlyoffice/documentserver

毕升office arm api版,实现arm64机器的离线编辑功能

详见:api-deploy-arm: 毕升office 部署 arm版本

通过官方步骤可以安装成功,在s905x2机器上成功运行,几人使用,一点不卡,13MB的ppt打开时间在5秒左右。

但是!!但是!!但是!!

arm版毕升office的docker镜像已知问题如下: 【部署问题1】:*.sh*.yml文件中的相对路径引用导致个别组件无法安装。 【解决方法】:arm版的docker-compose对相对路径不完善,需要修改*.sh*.yml文件中的cd命令、相对路径变量引用等,全部采用绝对路径即可。(参考见api-deploy-arm文件夹,改成自己机器的实际路径)

【部署问题2】nginx镜像为x86_64平台的,而且镜像太大,里面很多没必要的文件。 【解决方法】换镜像,改配置(见api-deploy-arm文件夹,nginx已经改好了。)

【运行问题】编辑office文档,doc/docx、xls/xlsx支持较好,但编辑ppt/pptx文件偶尔会造成文件丢失(只剩下22B的空文件)。

22B

总之:用作局域网预览还是不错的(整体内存占用也不高,还要什么自行车)。

附硬件:

小机器型号:a95x max,4G ram, 64ROM, 2T SATA(自己加的)

CPU型号:s905x2

操作系统:CoreELEC Amlogic-ng.arm

a95xmax

kodexplorer's People

Contributors

dennischancs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eternalfor fdh0

kodexplorer's Issues

构建出错了

docker build -t kodexpoler:v01 .                                                                                                                                          10:23.49 Fri Mar 19 2021 >>> 
[+] Building 0.7s (10/11)                                                                                                                                                                                   
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 37B                                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/php:7.4.9-fpm-alpine3.12                                                                                                                            0.7s
 => [internal] load build context                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                        0.0s
 => CANCELED [1/7] FROM docker.io/library/php:7.4.9-fpm-alpine3.12@sha256:4d10c4070ae62bfd539eb8532e814ff084fbb8cffa7d40585c2aa8e91e4bcbb5                                                             0.0s
 => => resolve docker.io/library/php:7.4.9-fpm-alpine3.12@sha256:4d10c4070ae62bfd539eb8532e814ff084fbb8cffa7d40585c2aa8e91e4bcbb5                                                                      0.0s
 => => sha256:655e3490019833d3d5ff8aaf744065dd75cc81cedc5a86bf0b3ca52786e51cb3 2.41kB / 2.41kB                                                                                                         0.0s
 => => sha256:4d10c4070ae62bfd539eb8532e814ff084fbb8cffa7d40585c2aa8e91e4bcbb5 1.65kB / 1.65kB                                                                                                         0.0s
 => => sha256:01e34785006995caaf49f26aea36b118c0a544655ed4c814c13b3302672842cf 11.00kB / 11.00kB                                                                                                       0.0s
 => CACHED [2/7] RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories &&     apk add --no-cache --update tzdata         p7zip unrar  freetype libpng libjpeg-turbo libweb  0.0s
 => CACHED [3/7] RUN apk add --no-cache wget bash &&     cd /tmp &&     wget "http://static.kodcloud.com/update/download/kodexplorer4.40.zip" &&     unzip kodexplorer4.40.zip -d /var/www/html &&     0.0s
 => CACHED [4/7] RUN apk add --no-cache wget make gcc musl-dev &&     cd /tmp && wget https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2 &&     tar -xf darkhttpd-1.12.tar.bz2 && cd darkhttpd-1.  0.0s
 => CACHED [5/7] WORKDIR /koddata                                                                                                                                                                      0.0s
 => ERROR [6/7] COPY entrypoint.sh /usr/local/bin/                                                                                                                                                     0.0s
------
 > [6/7] COPY entrypoint.sh /usr/local/bin/:
------
failed to compute cache key: "/entrypoint.sh" not found: not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.