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

99 lines
2.5 KiB
YAML
Raw Normal View History

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:
2024-11-02 18:20:31 +00:00
- name: rdtclient-data
persistentVolumeClaim:
claimName: mediaserver-rdtclient-data-pvc
- name: rdtclient-downloads
persistentVolumeClaim:
claimName: mediaserver-rdtclient-downloads-pvc
2024-10-27 10:39:45 +00:00
containers:
2024-11-02 18:20:31 +00:00
- name: rdtclient
image: ghcr.io/rogerfar/rdtclient:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4
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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: aria2c
labels:
app: aria2c
spec:
replicas: 1
selector:
matchLabels:
app: aria2c
template:
metadata:
labels:
app: aria2c
annotations:
spec:
volumes:
- name: aria2c-data
persistentVolumeClaim:
claimName: mediaserver-aria2c-data-pvc
- name: aria2c-downloads
persistentVolumeClaim:
2024-11-02 18:23:56 +00:00
claimName: mediaserver-rdtclient-downloads-pvc
2024-11-02 18:20:31 +00:00
containers:
- name: aria2c
2024-11-02 18:25:18 +00:00
image: p3terx/aria2-pro:latest@sha256:086d1a37c586edb07ec0fb956bf9edd89d1d38d138ad5309ff96d510c8c9a011
2024-11-02 18:20:31 +00:00
ports:
- name: rpc
containerPort: 6800
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK_SET
2024-11-02 19:33:15 +00:00
value: "002"
2024-11-02 18:20:31 +00:00
# Only internally accessible
- name: RPC_SECRET
value: "P3TERX"
- name: DISK_CACHE
value: "64M"
- name: IPV6_MODE
value: "false"
- name: UPDATE_TRACKERS
value: "true"
- name: CUSTOM_TRACKER_URL
value: ""
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /downloads
name: aria2c-downloads
- mountPath: /config
name: aria2c-data