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 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 path: /yarr/media/audiobooks - name: audiobookshelf-podcasts nfs: server: robin.home.nest path: /yarr/media/podcasts - name: audiobookshelf-config persistentVolumeClaim: claimName: audiobookshelf-config-pvc - name: audiobookshelf-metadata persistentVolumeClaim: claimName: audiobookshelf-metadata-pvc --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: audiobookshelf-config-pvc labels: recurring-job.longhorn.io/source: "enabled" recurring-job-group.longhorn.io/app-config-group: "enabled" spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 3Mi --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: audiobookshelf-metadata-pvc labels: recurring-job.longhorn.io/source: "enabled" recurring-job-group.longhorn.io/app-config-group: "enabled" spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 10Mi