48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
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:3a9f7c4dd5fec70753b70ab9cbcdb67b226e13016f45475cf0dda92fbf9c88e8
|
|
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
|