2024-10-27 10:39:45 +00:00
|
|
|
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
|
2024-10-31 14:13:52 +00:00
|
|
|
image: ghcr.io/rogerfar/rdtclient:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4
|
2024-10-27 10:39:45 +00:00
|
|
|
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
|