From b6e1aa9392241691a2420f07d0318d900b3a6e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 19 Apr 2026 17:10:39 +0200 Subject: [PATCH] calibre-web-automated: enable hardcover integration --- services/calibre-web-automated.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/calibre-web-automated.yml b/services/calibre-web-automated.yml index 6b70b7d..1c9c9ec 100644 --- a/services/calibre-web-automated.yml +++ b/services/calibre-web-automated.yml @@ -1,4 +1,8 @@ --- +secrets: + hardcover_api_token: + file: ../secretes/hardcover_api_token + services: calibre-web-automated: image: crocodilestick/calibre-web-automated:v4.0.6 @@ -13,10 +17,13 @@ services: # otherwise downloading books to device fails caddy: "cwa.${DOMAIN}, http://cwa.${DOMAIN}, http://books.${DOMAIN_LOCAL}, books.${DOMAIN_LOCAL}" caddy.reverse_proxy: "{{ upstreams 8083 }}" + secrets: + - hardcover_api_token environment: - PUID=${PUID} - PGID=${PGID} - TZ=${TZ} + - HARDCOVER_TOKEN=Bearer eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJIYXJkY292ZXIiLCJ2ZXJzaW9uIjoiOCIsImp0aSI6IjU2ZjQ5OWU2LWU1MGQtNDY3Mi05ZTRiLTlkODk4ZGNlMzQ3YyIsImFwcGxpY2F0aW9uSWQiOjIsInN1YiI6IjM0NTIyIiwiYXVkIjoiMSIsImlkIjoiMzQ1MjIiLCJsb2dnZWRJbiI6dHJ1ZSwiaWF0IjoxNzcwMDQzNzg5LCJleHAiOjE4MDE1Nzk3ODksImh0dHBzOi8vaGFzdXJhLmlvL2p3dC9jbGFpbXMiOnsieC1oYXN1cmEtYWxsb3dlZC1yb2xlcyI6WyJ1c2VyIl0sIngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1yb2xlIjoidXNlciIsIlgtaGFzdXJhLXVzZXItaWQiOiIzNDUyMiJ9LCJ1c2VyIjp7ImlkIjozNDUyMn19.kfoxQotcFvuoPYBiLCJV3YCpV-iEVMV-TYq-Ywodv40 volumes: - ${CWA_CONFIG_DIR}:/config # calibre-web-automated only supports one library as of 2026-01-12