From 6b5d129f764de7b5add0ea81427e006ed88fc682 Mon Sep 17 00:00:00 2001 From: traveler Date: Wed, 23 Apr 2025 20:12:33 -0500 Subject: [PATCH] sdaf --- Calibre-web.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++ Template.yaml | 2 +- library copy.yaml | 44 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 Calibre-web.yaml create mode 100755 library copy.yaml diff --git a/Calibre-web.yaml b/Calibre-web.yaml new file mode 100644 index 0000000..08898e4 --- /dev/null +++ b/Calibre-web.yaml @@ -0,0 +1,51 @@ +services: + calibre-web-automated: + image: crocodilestick/calibre-web-automated:latest + container_name: calibre-web-automated + environment: + # Only change these if you know what you're doing + - PUID=1001 + - PGID=998 + # Edit to match your current timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + - TZ=America/Chicago + volumes: + + - /data/nfs/Baxter/Data/media:/data:shared + # CW users migrating should stop their existing CW instance, make a copy of the config folder, and bind that here to carry over all of their user settings ect. + - /DockerVol/Calibre-web/Config:/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 + #- /path/to/the/folder/you/want/to/use/for/book/ingest:/cwa-book-ingest + # If you don't have an existing library, CWA will automatically create one at the bind provided here + #- /path/to/your/calibre/library:/calibre-library + - /data/nfs/Baxter/Data/media:/data:shared + networks: + - netgrimoire + ports: + # Change the first number to change the port you want to access the Web UI, not the second + - 8079:8083 + restart: unless-stopped + logging: + driver: "gelf" + options: + gelf-address: "udp://192.168.5.17:12201" + tag: "calibre-web-automatic" + deploy: + labels: + homepage.group: "Application" + homepage.name: "Calibre-Web Automated" + homepage.icon: "calibre-web.png" + homepage.href: "https://library.netgrimoire.com" + homepage.description: "Calibre-Web Automated" + kuma.cwa.http.name: "Calibre-Web Automated" + kuma.cwa.http.url: "http://calibre-web-automated:8083" + caddy: "library.netgrimoire.com" + #caddy.import: "authentik" + caddy.reverse_proxy: "{{upstreams 8083}}" + placement: + constraints: + - node.hostname == nas + + +networks: + netgrimoire: + external: true \ No newline at end of file diff --git a/Template.yaml b/Template.yaml index 1741c38..86a35ea 100644 --- a/Template.yaml +++ b/Template.yaml @@ -1,5 +1,5 @@ - + user: "1001:998" networks: - netgrimoire logging: diff --git a/library copy.yaml b/library copy.yaml new file mode 100755 index 0000000..bf7dc3a --- /dev/null +++ b/library copy.yaml @@ -0,0 +1,44 @@ + +services: + Calibre-Netgrimoire: + image: lscr.io/linuxserver/calibre-web:latest + container_name: Calibre-Netgrimoire + hostname: calibre-netgrimoire + networks: + - netgrimoire + environment: + - TZ=America/Chicago + - PGID=998 + - PUID=1001 + volumes: + - /data/nfs/Baxter/Docker/Calibre-netgrimoire/Config:/config + - /data/nfs/Baxter/Data:/data:shared + ports: + - 8083:8083 + restart: unless-stopped + deploy: + labels: + - homepage.group=Library + - homepage.name=Netgrimoire Library + - homepage.icon=calibre-web.png + - homepage.href=http://books.netgrimoire.com + - homepage.description=Curated Library + - homepage.widget.type=calibreweb + - homepage.widget.url=http://Calibre-netgrimoire:8083 + - homepage.widget.username=traveler + - homepage.widget.password=F@lcon13 + - kuma.calibre1.http.name="Calibre-Netgrimoire" + - kuma.auth.http.url=http://calibre-netgrimoire:8083 + - caddy=books.netgrimoire.com + - caddy.import=authentik + - caddy.reverse_proxy="{{upstreams 8083}}" + placement: + constraints: + - node.labels.general == true + + + + +networks: + netgrimoire: + external: true \ No newline at end of file