argocd-test/mediaserver/base/mediaserver-sonarr-deployment.yaml

48 lines
1.1 KiB
YAML
Raw Normal View History

2024-10-27 14:17:02 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr
labels:
app: sonarr
spec:
replicas: 1
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
annotations:
spec:
volumes:
- name: sonarr-config
persistentVolumeClaim:
claimName: mediaserver-sonarr-config-pvc
- name: plex-data
persistentVolumeClaim:
claimName: mediaserver-plex-data-pvc
- name: rdtclient-downloads
persistentVolumeClaim:
claimName: mediaserver-rdtclient-downloads-pvc
containers:
- name: sonarr
image: ghcr.io/hotio/sonarr:nightly@sha256:2f1ea94c817c35843072c2142487205d639d9c80ba3eac75c7a13a4d1f879ada
2024-10-27 14:17:02 +00:00
ports:
- name: web
containerPort: 8989
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: sonarr-config
- mountPath: /data/downloads
name: rdtclient-downloads
- mountPath: /media
name: plex-data