diff --git a/books.yaml b/books.yaml new file mode 100644 index 0000000..4df8d49 --- /dev/null +++ b/books.yaml @@ -0,0 +1,68 @@ +services: + calibre-web-automated: + image: crocodilestick/calibre-web-automated:latest + container_name: calibre-web-automated + restart: unless-stopped + environment: + - PUID=1001 + - PGID=1001 + - TZ=America/Chicago + # Hardcover API Key required for Hardcover as a Metadata Provider, get one here: https://docs.hardcover.app/api/getting-started/ + - HARDCOVER_TOKEN=${HARDCOVER_TOKEN} + - NETWORK_SHARE_MODE=true # If your library is on a network share (e.g., NFS/SMB), disable WAL to reduce locking issues + - CWA_PORT_OVERRIDE=8083 # Override the default port (8083) for the web server. + volumes: + - /srv/docker/entertainment/books/calibre-web-automated:/config + # This is an ingest dir, NOT a library one. Anything added here will be automatically added to your library according to the settings you have configured in CWA Settings page. + # All files placed here are REMOVED AFTER PROCESSING + - /media/books/downloaded:/cwa-book-ingest + - /media/books/calibre:/calibre-library + # If you use calibre plugins, you can bind your plugins folder here to have CWA attempt to add them to its workflow (WIP) + # If you are starting with a fresh install, you also need to copy customize.py.json to the Calibre config volume above, in /path/to/config/folder/.config/calibre/customize.py.json, see the note below for more info + - /srv/docker/entertainment/books/calibre-web-automated/plugins:/config/.config/calibre/plugins + ports: + - 8083:8083 # WebUI + labels: + - homepage.group=Media + - homepage.name=Calibre Web Automated + - homepage.icon=calibre-web-automated-book-downloader.png + - homepage.href=${CALIBRE_URL} + - homepage.description=Ebook Manager + #- homepage.widget.type=calibreweb + #- homepage.widget.url=${CALIBRE_URL} + #- homepage.widget.username=${CALIBRE_USER} + #- homepage.widget.password=${CALIBRE_PWD} + #- homepage.widget.fields=["books", "authors", "categories", "series"] + - dockhand.url=${CALIBRE_URL} + - rackpeek.tags=media + networks: + - proxy-net + + shelfmark: + #Formerly Calibre Web Automated Book Downloader (CWABD) + image: ghcr.io/calibrain/shelfmark:latest + container_name: shelfmark + environment: + PUID: 1001 + PGID: 1001 + ports: + - 8084:8084 + restart: unless-stopped + volumes: + - /media/downloads/books/:/books # Default destination for book downloads + - /srv/docker/entertainment/books/shelfmark:/config # App configuration + # Required for torrent / usenet - path must match your download client's volume exactly + - /media/downloads/torrents:/media/downloads/torrents + labels: + - homepage.group=Media + - homepage.name=Shelfmark + - homepage.icon=shelfmark.png + - homepage.href=${SHELFMARK_URL} + - homepage.description=Ebook downloader + - dockhand.url=${SHELFMARK_URL} + - rackpeek.tags=media + networks: + - proxy-net +networks: + proxy-net: + external: true \ No newline at end of file