summaryrefslogtreecommitdiff
path: root/f3s/audiobookshelf/helm-chart/templates/deployment.yaml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-07 09:59:29 +0300
committerPaul Buetow <paul@buetow.org>2025-08-07 09:59:29 +0300
commit0cfe96e7858a6cc9ced2eccd485206959710cf32 (patch)
tree036e3b44859d091f040f8f96bc9403a6cb269f00 /f3s/audiobookshelf/helm-chart/templates/deployment.yaml
parent03f631a0ecbef2afe4c34cda72871deae5649388 (diff)
add audiobookshelf
Diffstat (limited to 'f3s/audiobookshelf/helm-chart/templates/deployment.yaml')
-rw-r--r--f3s/audiobookshelf/helm-chart/templates/deployment.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/f3s/audiobookshelf/helm-chart/templates/deployment.yaml b/f3s/audiobookshelf/helm-chart/templates/deployment.yaml
new file mode 100644
index 0000000..65e536a
--- /dev/null
+++ b/f3s/audiobookshelf/helm-chart/templates/deployment.yaml
@@ -0,0 +1,53 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: audiobookshelf
+ namespace: services
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: audiobookshelf
+ template:
+ metadata:
+ labels:
+ app: audiobookshelf
+ spec:
+ containers:
+ - name: audiobookshelf
+ image: ghcr.io/advplyr/audiobookshelf
+ ports:
+ - containerPort: 80
+ volumeMounts:
+ - name: audiobookshelf-config
+ mountPath: /config
+ - name: audiobookshelf-audiobooks
+ mountPath: /audiobooks
+ - name: audiobookshelf-podcasts
+ mountPath: /podcasts
+ volumes:
+ - name: audiobookshelf-config
+ persistentVolumeClaim:
+ claimName: audiobookshelf-config-pvc
+ - name: audiobookshelf-audiobooks
+ persistentVolumeClaim:
+ claimName: audiobookshelf-audiobooks-pvc
+ - name: audiobookshelf-podcasts
+ persistentVolumeClaim:
+ claimName: audiobookshelf-podcasts-pvc
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: audiobookshelf
+ name: audiobookshelf-service
+ namespace: services
+spec:
+ ports:
+ - name: web
+ port: 80
+ protocol: TCP
+ targetPort: 80
+ selector:
+ app: audiobookshelf