Add prowlarr
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-10-15 11:37:15 -04:00
parent fb74b6c6d7
commit 0a626e7b0e
3 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,37 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prowlarr
namespace: torrent-ns
labels:
app: prowlarr
spec:
replicas: 1
selector:
matchLabels:
app: torrenter-apps
template:
metadata:
labels:
app: torrenter-apps
spec:
containers:
- name: prowlarr
image: lscr.io/linuxserver/prowlarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 9696
volumeMounts:
- name: prowlarr-data
mountPath: /config
volumes:
- name: prowlarr-data
persistentVolumeClaim:
claimName: prowlarr-pvc

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: prowlarr-pvc
namespace: torrent-ns
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 1Gi

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: torrenter-service
namespace: torrent-ns
spec:
type: LoadBalancer
ports:
- port: 9696
targetPort: 9696
selector:
app: torrenter-apps