kubs/alaskarTV/audiobookshelf/deployment.yaml
2025-02-05 02:40:21 +03:00

57 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: audiobookshelf
annotations:
keel.sh/policy: minor
keel.sh/trigger: poll
keel.sh/match-tag: "true"
keel.sh/pollSchedule: "@every 6h"
spec:
replicas: 1
selector:
matchLabels:
app: audiobookshelf
strategy:
type: Recreate
template:
metadata:
labels:
app: audiobookshelf
spec:
containers:
- name: audiobookshelf
image: ghcr.io/advplyr/audiobookshelf:latest
ports:
- containerPort: 80
env:
- name: PGID
value: "1000"
- name: PUID
value: "1000"
- name: TZ
value: Asia/Kuwait
volumeMounts:
- mountPath: /config
name: ssd
subPath: configs/audiobookshelf/config
- mountPath: /metadata
name: ssd
subPath: configs/audiobookshelf/metadata
- mountPath: /audiobooks
subPath: books/audiobooks
name: ssd
- mountPath: /books
subPath: books/books
name: ssd
- mountPath: /podcasts
subPath: books/podcasts
name: ssd
restartPolicy: Always
volumes:
- name: ssd
persistentVolumeClaim:
claimName: nfs-ssd-pvc
- name: hdd
persistentVolumeClaim:
claimName: nfs-hdd-pvc