91 lines
2.2 KiB
YAML
91 lines
2.2 KiB
YAML
audiobookshelf:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/advplyr/audiobookshelf
|
|
tag: 2.26.1
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
apprise-api:
|
|
image:
|
|
repository: caronc/apprise
|
|
tag: 1.2.0
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: APPRISE_STORAGE_MODE
|
|
value: memory
|
|
- name: APPRISE_STATEFUL_MODE
|
|
value: disabled
|
|
- name: APPRISE_WORKER_COUNT
|
|
value: 1
|
|
- name: APPRISE_STATELESS_URLS
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: audiobookshelf-apprise-config
|
|
key: ntfy-url
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: HTTP
|
|
apprise:
|
|
port: 8000
|
|
targetPort: 8000
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 2Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config
|
|
readOnly: false
|
|
metadata:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /metadata
|
|
readOnly: false
|
|
backup:
|
|
existingClaim: audiobookshelf-nfs-storage-backup
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /metadata/backups
|
|
readOnly: false
|
|
audiobooks:
|
|
existingClaim: audiobookshelf-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /mnt/store/
|
|
readOnly: false
|