k3s/services/lazy-librarian/lazylibrarian-deployment.yaml
2026-03-30 14:36:42 -04:00

65 lines
1.8 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f compose-ll.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: lazylibrarian
name: lazylibrarian
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: lazylibrarian
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f compose-ll.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: lazylibrarian
spec:
containers:
- env:
- name: DOCKER_MODS
value: linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: America/New_York
- name: HARDCOVER_API_KEY
valueFrom:
secretKeyRef:
name: hardcover-api-key
key: key
image: lscr.io/linuxserver/lazylibrarian:latest
name: lazylibrarian
ports:
- containerPort: 5299
protocol: TCP
volumeMounts:
- mountPath: /config
name: lazylibrarian-config
- mountPath: /downloads
name: lazylibrarian-downloads
- mountPath: /data
name: lazylibrarian-data
restartPolicy: Always
volumes:
- name: lazylibrarian-config
nfs:
server: birdfeeder2.home.nest
path: /k3s/lazy-librarian
- name: lazylibrarian-downloads
nfs:
server: birdfeeder1.home.nest
path: /yarr/downloads
- name: lazylibrarian-data
nfs:
server: birdfeeder1.home.nest
path: /yarr