summaryrefslogtreecommitdiff
path: root/playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml')
-rw-r--r--playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml77
1 files changed, 77 insertions, 0 deletions
diff --git a/playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml b/playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml
new file mode 100644
index 0000000..920b1f5
--- /dev/null
+++ b/playbooks.d/k3s-master/manifests/applications/krohxe.tyil.net/media/dirlist/deployment.yaml
@@ -0,0 +1,77 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: dirlist
+ namespace: media
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: dirlist
+ app.kubernetes.io/part-of: media
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: dirlist
+ app.kubernetes.io/part-of: media
+ spec:
+ containers:
+ - name: miniserve
+ image: docker.io/svenstaro/miniserve:latest
+ args:
+ - "--enable-tar-gz"
+ - "--qrcode"
+ - "--enable-tar"
+ - "/var/www"
+ ports:
+ - containerPort: 8080
+ volumeMounts:
+ - name: anime-movies
+ mountPath: /var/www/anime-movies
+ readOnly: true
+ - name: anime-series
+ mountPath: /var/www/anime-series
+ readOnly: true
+ - name: books
+ mountPath: /var/www/books
+ readOnly: true
+ - name: movies
+ mountPath: /var/www/movies
+ readOnly: true
+ - name: music
+ mountPath: /var/www/music
+ readOnly: true
+ - name: series
+ mountPath: /var/www/series
+ readOnly: true
+ volumes:
+ - name: anime-movies
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/anime-movies/exported
+ - name: anime-series
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/anime-series/exported
+ - name: books
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/books/exported
+ - name: movies
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/movies/exported
+ - name: music
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/music/exported
+ - name: series
+ nfs:
+ server: 10.57.100.7
+ path: /mnt/media/series/exported
+...