diff --git a/calibre-web/docker-compose.yaml b/calibre-web/docker-compose.yaml new file mode 100644 index 0000000..1e14e40 --- /dev/null +++ b/calibre-web/docker-compose.yaml @@ -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 diff --git a/calibre-web/metadata.db b/calibre-web/metadata.db new file mode 100644 index 0000000..c32a586 Binary files /dev/null and b/calibre-web/metadata.db differ diff --git a/calibre-web/readme.md b/calibre-web/readme.md new file mode 100644 index 0000000..10c4ba4 --- /dev/null +++ b/calibre-web/readme.md @@ -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 M;` \ No newline at end of file