gremlin: auto-fix swarm/Calibre-web.yaml (8 issues fixed)
- Added default restart_policy for "calibre-web-automated" - Added aarch64 exclusion for "calibre-web-automated" - Added arm exclusion for "calibre-web-automated" - Added caddy.import_1: crowdsec for "calibre-web-automated" - Added caddy.import_2: authentik for "calibre-web-automated" - Added monitor label(s) for "calibre-web-automated" (url: https://"books.netgrimoire.com , books.pncharris.com") - Removed 2 legacy kuma.* label(s) from "calibre-web-automated" - Stamped gremlin.version: 2026-04-1
This commit is contained in:
parent
943a89fea8
commit
d85b57007d
1 changed files with 13 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ services:
|
||||||
|
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:$${CWA_PORT_OVERRIDE:-8083}/ || curl -f -k https://localhost:$${CWA_PORT_OVERRIDE:-8083}/ || exit 1"]
|
test: ["CMD-SHELL", "curl -f http://localhost:${CWA_PORT_OVERRIDE:-8083}/ || curl -f -k https://localhost:${CWA_PORT_OVERRIDE:-8083}/ || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
@ -41,23 +41,32 @@ services:
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
window: 120s
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
- node.platform.arch != arm
|
||||||
|
- node.platform.arch != aarch64
|
||||||
- node.hostname == znas
|
- node.hostname == znas
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
|
gremlin.version: "2026-04-1"
|
||||||
homepage.group: "PNCHarris Apps"
|
homepage.group: "PNCHarris Apps"
|
||||||
homepage.name: "Family Library"
|
homepage.name: "Family Library"
|
||||||
homepage.icon: "calibre-web.png"
|
homepage.icon: "calibre-web.png"
|
||||||
homepage.href: "https://books.netgrimoire.com"
|
homepage.href: "https://books.netgrimoire.com"
|
||||||
homepage.description: "Calibre-Web Automated"
|
homepage.description: "Calibre-Web Automated"
|
||||||
|
monitor.name: Calibre-web-automated
|
||||||
kuma.cwa.http.name: "Calibre-Web Automated"
|
monitor.url: https://"books.netgrimoire.com , books.pncharris.com"
|
||||||
kuma.cwa.http.url: "http://calibre-web-automated:8083"
|
|
||||||
|
|
||||||
caddy: "books.netgrimoire.com , books.pncharris.com"
|
caddy: "books.netgrimoire.com , books.pncharris.com"
|
||||||
# caddy.import: "authentik"
|
# caddy.import: "authentik"
|
||||||
caddy.reverse_proxy: "calibre-web-automated:8083"
|
caddy.reverse_proxy: "calibre-web-automated:8083"
|
||||||
|
caddy.import_1: crowdsec
|
||||||
|
caddy.import_2: authentik
|
||||||
|
|
||||||
# Diun (image update monitoring)
|
# Diun (image update monitoring)
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue