add aria2c
This commit is contained in:
parent
d9b635f6e8
commit
fd3035b1d5
@ -16,27 +16,89 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: rdtclient-data
|
- name: rdtclient-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: mediaserver-rdtclient-data-pvc
|
claimName: mediaserver-rdtclient-data-pvc
|
||||||
- name: rdtclient-downloads
|
- name: rdtclient-downloads
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: mediaserver-rdtclient-downloads-pvc
|
claimName: mediaserver-rdtclient-downloads-pvc
|
||||||
containers:
|
containers:
|
||||||
- name: rdtclient
|
- name: rdtclient
|
||||||
image: ghcr.io/rogerfar/rdtclient:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4
|
image: ghcr.io/rogerfar/rdtclient:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
containerPort: 6500
|
containerPort: 6500
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Europe/Amsterdam
|
value: Europe/Amsterdam
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data/downloads
|
- mountPath: /data/downloads
|
||||||
name: rdtclient-downloads
|
name: rdtclient-downloads
|
||||||
- mountPath: /data/db
|
- mountPath: /data/db
|
||||||
name: rdtclient-data
|
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:
|
||||||
|
claimName: mediaserver-aria2c-downloads-pvc
|
||||||
|
containers:
|
||||||
|
- name: aria2c
|
||||||
|
image: ghcr.io/rogerfar/aria2c:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
containerPort: 6800
|
||||||
|
- name: rpc
|
||||||
|
containerPort: 6800
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: UMASK_SET
|
||||||
|
value: "022"
|
||||||
|
# Only internally accessible
|
||||||
|
- name: RPC_SECRET
|
||||||
|
value: "P3TERX"
|
||||||
|
- name: RPC_PORT
|
||||||
|
value: "6800"
|
||||||
|
- name: LISTEN_PORT
|
||||||
|
value: "6888"
|
||||||
|
- 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
|
||||||
|
@ -9,3 +9,18 @@ spec:
|
|||||||
targetPort: web
|
targetPort: web
|
||||||
selector:
|
selector:
|
||||||
app: rdtclient
|
app: rdtclient
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: mediaserver-aria2c
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
port: 80
|
||||||
|
targetPort: web
|
||||||
|
- name: rpc
|
||||||
|
port: 6888
|
||||||
|
targetPort: rpc
|
||||||
|
selector:
|
||||||
|
app: aria2c
|
||||||
|
Loading…
Reference in New Issue
Block a user