Bazarr #1

Merged
ahmza merged 4 commits from bazarr into main 2026-09-11 10:12:08 +00:00
6 changed files with 99 additions and 13 deletions
Showing only changes of commit c466da1fe0 - Show all commits
+1 -1
View File
@@ -23,4 +23,4 @@ spec:
prune: true prune: true
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace = true - CreateNamespace=true
+45 -12
View File
@@ -8,16 +8,49 @@ spec:
# not critical infrastructure a single pod should be sufficient # not critical infrastructure a single pod should be sufficient
replicas: 1 replicas: 1
strategy: strategy:
type: RollingUpdate type: Recreate
rollingUpdate: selector:
maxUnavailable: 0 matchLabels:
maxSurge: 1 app: bazarr
selector: template:
matchLabels: metadata:
labels:
app: bazarr app: bazarr
template: spec:
metadata: containers:
labels: - name: bazarr
app: bazarr image: ghcr.io/hotio/bazarr:release
spec: imagePullPolicy: Always
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Europe/London"
ports:
- name: http
containerPort: 6767
protocol: TCP
volumeMounts:
- name: bazarr-config
mountPath: /config
- name: cryo-media
mountPath: /movies
subPath: Movies
- name: cryo-media
mountPath: /tv
subPath: TVShows
- name: cryo-media
mountPath: /anime
subPath: Anime
volumes:
- name: bazarr-config
persistentVolumeClaim:
claimName: bazarr-data
- name: cryo-media
nfs:
server: nas.ahmza.com
path: /srv/media
+25
View File
@@ -0,0 +1,25 @@
# routes for bazarr.ahmza.com through ingress-nginx (docs/11-ingress.md)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bazarr
namespace: bazarr
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
spec:
tls:
- hosts:
- bazarr.ahmza.com
# cert-manager keeps this up to date. nothing to do by hand
secretName: bazarr-tls
rules:
- host: bazarr.ahmza.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bazarr
port:
number: 6767
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: bazarr
+12
View File
@@ -0,0 +1,12 @@
# create a longhorn pvc for bazarr's config (see docs/06-longhorn.md)
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: bazarr-data
namespace: bazarr
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: bazarr
namespace: bazarr
spec:
selector:
app: bazarr
ports:
- name: http
port: 6767
targetPort: http