k3s/services/audiobookshelf/audiobookshelf-deployment.yaml

62 lines
1.7 KiB
YAML
Raw Normal View History

2026-03-30 14:36:42 -04:00
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f compose-abs.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: audiobookshelf
name: audiobookshelf
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: audiobookshelf
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f compose-abs.yaml
kompose.version: 1.38.0 (HEAD)
labels:
io.kompose.service: audiobookshelf
spec:
containers:
- env:
- name: TZ
value: America/New_York
image: ghcr.io/advplyr/audiobookshelf:latest
name: audiobookshelf
ports:
- containerPort: 80
protocol: TCP
name: web-ui
2026-03-30 14:36:42 -04:00
volumeMounts:
- mountPath: /audiobooks
name: audiobookshelf-audiobooks
- mountPath: /podcasts
name: audiobookshelf-podcasts
- mountPath: /config
name: audiobookshelf-config
- mountPath: /metadata
name: audiobookshelf-metadata
restartPolicy: Always
volumes:
- name: audiobookshelf-audiobooks
nfs:
server: robin.home.nest
2026-03-30 14:36:42 -04:00
path: /yarr/media/audiobooks
- name: audiobookshelf-podcasts
nfs:
server: robin.home.nest
2026-03-30 14:36:42 -04:00
path: /yarr/media/podcasts
- name: audiobookshelf-config
nfs:
server: birdfeeder2.home.nest
path: /k3s/audiobookshelf/config
- name: audiobookshelf-metadata
nfs:
server: birdfeeder2.home.nest
path: /k3s/audiobookshelf/metadata