apiVersion: apps/v1 kind: Deployment metadata: name: rdtclient labels: app: rdtclient spec: replicas: 1 selector: matchLabels: app: rdtclient template: metadata: labels: app: rdtclient annotations: spec: volumes: - name: rdtclient-data persistentVolumeClaim: claimName: mediaserver-rdtclient-data-pvc - name: rdtclient-downloads persistentVolumeClaim: claimName: mediaserver-rdtclient-downloads-pvc containers: - name: rdtclient image: ghcr.io/rogerfar/rdtclient:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4 resources: requests: cpu: 1 memory: 512Mi ports: - name: web containerPort: 6500 env: - name: PUID value: "1000" - name: PGID value: "1000" - name: TZ value: Europe/Amsterdam volumeMounts: - mountPath: /data/downloads name: rdtclient-downloads - mountPath: /data/db name: rdtclient-data