Skip to content

clutwo/docker-lazylibrarian-calibre

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thraxis|Docker

thraxis/lazylibrarian-calibre

Docker PullsDocker Stars

LazyLibrarian is a program to follow authors and grab metadata for all your digital reading needs. It uses a combination of Goodreads Librarything and optionally GoogleBooks as sources for author info and book info. This container is based on the DobyTang fork.

Calibre is a free and open source e-book library management application developed by users of e-books for users of e-books. This container uses the CLI program calibredb to import books to the library.

lazylibrarian

Usage

docker create \
  --name=lazylibrarian \
  -v <path to data>:/config \
  -v <path to data>:/downloads \
  -v <path to data>:/books \
  -v <path to data>:/audiobooks \
  -v <path to data>:/magazines \
  -v <path to data>:/comics \
  -e PGID=<gid> -e PUID=<uid>  \
  -e TZ=<timezone> \
  -p 5299:5299 \
  thraxis/lazylibrarian-calibre

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • -p 5299 - Port for webui
  • -v /config Containers lazylibrarian config and database
  • -v /downloads lazylibrarian download folder
  • -v /books location of calibre ebook library
  • -v /audiobooks location of audiobook library
  • -v /magazines location of magazine library
  • -v /comics location of comic books library
  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation
  • -e TZ for setting timezone information, eg Europe/London

It is based on alpine linux with s6 overlay, for shell access whilst the container is running do docker exec -it lazylibrarian-calibre /bin/bash.

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

Access the webui at <your-ip>:5299/home, for more information check out LazyLibrarian..

Info

  • To monitor the logs of the container in realtime docker logs -f lazylibrarian-calibre.

  • container version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' lazylibrarian-calibre

  • image version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' thraxis/lazylibrarian-calibre

Versions

  • 16-02-19: Add apprise and /comics directory mapping
  • 16-10-17: Internal GIT Pull at Runtime
  • 22-07-17: Added Audiobook mapping and calibredb environment variables
  • 26-05-17: Rebased Alpine 3.6
  • 10-02-17: Rebased Alpine 3.5
  • 21.01.17: Initial Release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 88.2%
  • Shell 11.8%