Instructions on calibre-web.

This commit is contained in:
pablo 2022-12-29 22:25:12 +01:00
parent c5629225a9
commit 4b0e44371e
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,17 @@
version: "2.1"
services:
calibre-web:
image: lscr.io/linuxserver/calibre-web:0.6.19
container_name: calibre-web
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
volumes:
- ${ROOT_PATH}/config:/config
- ${ROOT_PATH}/books:/books
ports:
- 8083:8083
restart: unless-stopped

BIN
calibre-web/metadata.db Normal file

Binary file not shown.

15
calibre-web/readme.md Normal file
View file

@ -0,0 +1,15 @@
# Calibre-web
- You can install with the attached docker-compose. You will only need to add a `.env` file to inform of the
`ROOT_PATH` where the volumes should be mounted in the host.
- Calibre-web is initially suposed to be a layer on top of an existing calibre installation. Because of that, the
container does not initialize a books library on its own. This prevents the service from working properly (you will
get stuck in the first screen, being asked for a config and getting an error message constantly). To overcome this,
you simply need to drop an empty calibre database in the `/books` path in the container. A file you can use goes
along with this readme file.
- By default, you can't upload books through the web UI. You need to go to
`Admin > Edit Basic Configuration > Feature Configuration > Enable Uploads`. After that, permission needs to be given
to every user who should be allowed to upload books.
- The app allows OPDS connections from ebooks. To set it up, pass to the ebook the web URL with `/opds` at the end.
- Books can easily exceed the default max upload size allowed by nginx. To increase it, you simply need to put the
following directive under nginx's reverse proxy section for calibre: `client_max_body_size <your megabytes choice>M;`