From 0469bc902a27e024deb4daf045de0eb08775c171 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Thu, 29 Dec 2022 13:36:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20media-browser=20helmrelease?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../media-browser/app/helmrelease.yaml | 59 +++++++++++++------ 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/kubernetes/apps/default/media-browser/app/helmrelease.yaml b/kubernetes/apps/default/media-browser/app/helmrelease.yaml index 12c639c33..e3b75b1c4 100644 --- a/kubernetes/apps/default/media-browser/app/helmrelease.yaml +++ b/kubernetes/apps/default/media-browser/app/helmrelease.yaml @@ -3,7 +3,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: - name: &app komga + name: &app media-browser namespace: default spec: interval: 15m @@ -27,16 +27,34 @@ spec: namespace: rook-ceph values: image: - repository: gotson/komga - tag: "0.157.5" + repository: docker.io/filebrowser/filebrowser + tag: v2.23.0 env: TZ: "${TIMEZONE}" - SERVER_PORT: &port 8080 + FB_DATABASE: "/config/filebrowser.db" + FB_ROOT: "/media" + FB_LOG: "stdout" + FB_NOAUTH: "true" service: main: ports: http: + port: &port 80 + probes: + liveness: &probes + enabled: true + custom: true + spec: + httpGet: + path: /health port: *port + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + readiness: *probes + startup: + enabled: false ingress: main: enabled: true @@ -51,26 +69,31 @@ spec: tls: - hosts: - *host - podSecurityContext: - runAsUser: 568 - runAsGroup: 568 - fsGroup: 568 - fsGroupChangePolicy: "OnRootMismatch" - supplementalGroups: - - 100 persistence: config: enabled: true - existingClaim: komga-config - comics: + existingClaim: media-browser-config + music: enabled: true type: nfs server: "${LOCAL_LAN_TRUENAS}" - path: /mnt/storage/home/claude/comics - mountPath: /mnt/storage/home/claude/comics + path: /mnt/storage/music + mountPath: /mnt/storage/music + photo: + enabled: true + type: nfs + server: "${LOCAL_LAN_TRUENAS}" + path: /mnt/storage/photo + mountPath: /mnt/storage/photo + video: + enabled: true + type: nfs + server: "${LOCAL_LAN_TRUENAS}" + path: /mnt/storage/video + mountPath: /mnt/storage/video resources: requests: - memory: 4282M - cpu: 15m + cpu: 10m + memory: 50Mi limits: - memory: 4282M + memory: 500Mi