linux calibre-web docker如何配置calibre转换器以转换文件格式

先下载安装calibre本体

会在/opt/calibre/里下载很多相关文件,我们尤其需要里面的 ebook-convert

root@was:/home/calibre-web# ls /opt/calibre
bin                calibre-debug     calibre_postinstall  ebook-edit    fetch-ebook-metadata  lrfviewer         resources
calibre            calibre-parallel  calibredb            ebook-meta    lib                   lrs2lrf           share
calibre-complete   calibre-server    ebook-convert        ebook-polish  libexec               markdown-calibre  translations
calibre-customize  calibre-smtp      ebook-device         ebook-viewer  lrf2lrs               plugins           web2disk

配置calibre-web的compose.yaml文件

version: "2.1"
services:
  calibre-web:
    image: lscr.io/linuxserver/calibre-web:latest
    container_name: calibre-web
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - DOCKER_MODS=linuxserver/mods:universal-calibre #optional
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
    volumes:
      - /opt/calibre-web/config:/config
      - /opt/calibre-web/books:/books
      - /opt/calibre:/opt/calibre #在这里映射好/opt/calibrecalibre
    ports:
      - 8033:8083
    restart: unless-stopped

然后docker compose up -d启动calibre-web

在calibre-web里选好路径

管理权限-基本配置-功能配置