This commit is contained in:
traveler 2025-12-26 23:15:16 -06:00
parent 286196cf7a
commit 1644c43e3b

View file

@ -1,15 +1,20 @@
services: services:
calibre-web-automated: calibre-web-automated:
image: crocodilestick/calibre-web-automated:latest image: crocodilestick/calibre-web-automated:latest
container_name: calibre-web-automated networks:
- netgrimoire
environment: environment:
# Only change these if you know what you're doing # Only change these if you know what you're doing
- PUID=1001 PUID: "1001"
- PGID=998 PGID: "998"
# Edit to match your current timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Edit to match your current timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=America/Chicago TZ: America/Chicago
volumes:
# Match your standard UID:GID execution model
user: "1001:998"
volumes:
# - /data/nfs/Baxter/Data/media:/data:shared # - /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. # 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 - /DockerVol/Calibre-web/Config:/config
@ -19,33 +24,36 @@ services:
# - /path/to/your/calibre/library:/calibre-library # - /path/to/your/calibre/library:/calibre-library
# - /data/nfs/Baxter/Data/media:/data:shared # - /data/nfs/Baxter/Data/media:/data:shared
- /data/nfs/Baxter/Data/media/books/library/Netgrimoire:/calibre-library:shared - /data/nfs/Baxter/Data/media/books/library/Netgrimoire:/calibre-library:shared
networks:
- netgrimoire
ports: ports:
# Change the first number to change the port you want to access the Web UI, not the second # Change the first number to change the port you want to access the Web UI, not the second
- 8079:8083 - target: 8083
restart: unless-stopped published: 8079
logging: protocol: tcp
driver: "gelf" mode: ingress
options:
gelf-address: "udp://192.168.5.17:12201"
tag: "calibre-web-automatic"
deploy: deploy:
labels:
homepage.group: "Application"
homepage.name: "Calibre-Web Automated"
homepage.icon: "calibre-web.png"
homepage.href: "https://books.netgrimoire.com"
homepage.description: "Calibre-Web Automated"
kuma.cwa.http.name: "Calibre-Web Automated"
kuma.cwa.http.url: "http://calibre-web-automated:8083"
caddy: "books.netgrimoire.com , books.pncharris.com"
#caddy.import: "authentik"
caddy.reverse_proxy: "{{upstreams 8083}}"
placement: placement:
constraints: constraints:
- node.hostname == nas - node.hostname == nas
labels:
homepage.group: "PNCHarris Apps"
homepage.name: "Family Library"
homepage.icon: "calibre-web.png"
homepage.href: "https://books.netgrimoire.com"
homepage.description: "Calibre-Web Automated"
kuma.cwa.http.name: "Calibre-Web Automated"
kuma.cwa.http.url: "http://calibre-web-automated:8083"
caddy: "books.netgrimoire.com , books.pncharris.com"
# caddy.import: "authentik"
caddy.reverse_proxy: "{{upstreams 8083}}"
# Diun (image update monitoring)
diun.enable: "true"
networks: networks:
netgrimoire: netgrimoire: