k3s/services/calibre-web/calibre-web-deployment.yaml

55 lines
1.5 KiB
YAML
Raw Normal View History

2026-03-27 10:40:54 -04:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: calibre-web
name: calibre-web
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: calibre-web
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: calibre-web
spec:
containers:
- env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: America/New_York
- name: DOCKER_MODS
value: linuxserver/mods:universal-calibre
image: crocodilestick/calibre-web-automated:latest
name: calibre-web
ports:
- containerPort: 8083
protocol: TCP
volumeMounts:
- mountPath: /config
name: calibre-web-config
- mountPath: /calibre-library
name: calibre-web-library
- mountPath: /cwa-book-ingest
name: calibre-ingest-folder
restartPolicy: Always
volumes:
- name: calibre-web-config
nfs:
server: birdfeeder2.home.nest
path: /k3s/calibre-web
- name: calibre-web-library
nfs:
server: birdfeeder1.home.nest
path: /yarr/media/books/calibre-library
- name: calibre-ingest-folder
nfs:
server: birdfeeder1.home.nest
path: /yarr/media/books/calibre-ingest