studioetrange/calibre-mod

By studioetrange

Updated over 3 years ago

calibre binaries for linnuxserver io images

Image
0

1.2K

studioetrange/calibre-mod

calibre-mod is not a standalone container but an additional docker layer for linuxserver.io's containers which adds the binaries and dependencies necessary to enable ebook conversion on x86-64 utilising Calibre.

About this fork

About linuxserver.io docker-mods

Supported Architectures

Our images support multiple architectures such as x86-64, arm64 and armhf. We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling linuxserver/calibre-web should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

ArchitectureTag
x86-64amd64-latest

Parameters

Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

ParameterFunction
-e AUTO_CREATE_DB=/booksWill put an empty calibre database in this folder if not already exist. # optional
-e CALIBRE_CONFIG_DIRECTORY=/config/calibrecalibre folder # optional
-e CALIBRE_TEMP_DIR=/config/calibre/tmpcalibre folder # optional
-e CALIBRE_CACHE_DIRECTORY=/config/cache/calibrecalibre folder # optional

Usage

Here are some example snippets to help you get started creating a Calibre-Web container using this mod.

docker sample usage
docker create \
  --name=calibre-web \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -e DOCKER_MODS=studioetrange/calibre-mod:latest \
  -e AUTO_CREATE_DB=/books \
  -e CALIBRE_CONFIG_DIRECTORY=/config/calibre \
  -e CALIBRE_TEMP_DIR=/config/calibre/tmp \
  -e CALIBRE_CACHE_DIRECTORY=/config/cache/calibre \
  -p 8083:8083 \
  -v <path to data>:/config \
  -v <path to calibre library>:/books \
  --restart unless-stopped \
  linuxserver/calibre-web
docker-compose sample usage

Compatible with docker-compose v2 schemas.

---
version: "2"
services:
  calibre-web:
    image: linuxserver/calibre-web
    container_name: calibre-web
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - DOCKER_MODS=studioetrange/calibre-mod:latest
      - AUTO_CREATE_DB=/books
      - CALIBRE_CONFIG_DIRECTORY=/config/calibre
      - CALIBRE_TEMP_DIR=/config/calibre/tmp
      - CALIBRE_CACHE_DIRECTORY=/config/cache/calibre
    volumes:
      - <path to data>:/config
      - <path to calibre library>:/books
    ports:
      - 8083:8083
    restart: unless-stopped

Docker tags

Pre-setted buildable tags for studioetrange/calibre-mod:TAG

 latest, v5.22.1, v5.22.0, v5.21.0, v5.20.0, v5.19.0, v5.18.0, v5.17.0, v5.16.1, v5.16.0, v5.15.0, v5.14.0, v5.13.0, v5.12.0, v5.11.0, v5.10.1, v5.10.0, v5.9.0, v5.8.1, v5.8.0, v5.7.2, v5.7.1, v5.7.0, v5.6.0, v5.5.0, v5.4.2, v5.4.1, v5.4.0, v5.3.0, v5.2.0, v5.1.0, v5.0.1, v5.0.0, v4.23.0, v4.22.0, v4.21.0, v4.20.0, v4.19.0, v4.18.0, v4.17.0, v4.16.0, v4.15.0, v4.14.0, v4.13.0, v4.12.0, v4.11.2, v4.11.1, v4.11.0, v4.10.1, v4.10.0, v4.9.1, v4.9.0, v4.8.0, v4.7.0, v4.6.0, v4.5.0, v4.4.0, v4.3.0, v4.2.0, v4.1.0, v4.0.0, v3.48.0, v3.47.1

Current latest tag is version v5.22.1

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/studioetrange/docker-calibre-mod.git
cd docker-calibre-mod
docker build \
  --no-cache \
  --pull \
  -t studioetrange/calibre-mod .

But to use it with calibre-web you have to upload it to docker hub first:

docker push studioetrange/calibre-mod:latest

Notes on Github / Docker Hub Repository

Docker Pull Command

docker pull studioetrange/calibre-mod