2022-11-17 18:24:20 +00:00
|
|
|
---
|
2022-01-08 16:35:06 +00:00
|
|
|
image:
|
2022-11-27 20:07:21 +00:00
|
|
|
repository: lib42/deluge
|
2023-03-03 19:43:27 +00:00
|
|
|
tag: "2.1.1"
|
2022-11-17 18:24:20 +00:00
|
|
|
|
2022-11-27 20:07:21 +00:00
|
|
|
podSecurityContext:
|
2023-03-23 15:33:56 +00:00
|
|
|
fsGroup: 2420
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 1420
|
|
|
|
runAsGroup: 2420
|
2022-11-27 20:07:21 +00:00
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "vault-issuer"
|
2022-01-05 19:24:47 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.tls: 'true'
|
2021-11-28 10:16:31 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
|
|
|
hosts:
|
|
|
|
- host: torrent.dc
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- secretName: torrent.dc-tls
|
|
|
|
hosts:
|
|
|
|
- torrent.dc
|
|
|
|
|
2022-11-17 18:24:20 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8112
|
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
env:
|
2023-03-23 15:33:56 +00:00
|
|
|
PUID: 1429
|
|
|
|
GUID: 2420
|
2022-12-18 19:25:02 +00:00
|
|
|
SSL_CERT_DIR: /etc/ssl/certs
|
2021-11-28 10:16:31 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
size: 10M
|
|
|
|
|
|
|
|
# use hostpath instead
|
|
|
|
downloads:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
2023-03-10 18:20:12 +00:00
|
|
|
hostPath: /data/media/torrent
|
2021-11-28 10:16:31 +00:00
|
|
|
mountPath: /downloads
|
|
|
|
|
2022-11-28 17:39:34 +00:00
|
|
|
tmp:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
mountPath: /tmp
|
|
|
|
|
2022-12-09 15:06:51 +00:00
|
|
|
cache:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
mountPath: /home/deluge/.cache
|
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
## VPN
|
|
|
|
addons:
|
|
|
|
vpn:
|
|
|
|
enabled: true
|
|
|
|
|
2022-11-17 18:24:20 +00:00
|
|
|
env:
|
|
|
|
VPN_SERVICE_PROVIDER: mullvad
|
|
|
|
VPN_TYPE: openvpn
|
|
|
|
WIREGUARD_ADDRESSES: 10.67.135.224/32
|
|
|
|
|
|
|
|
DNS_KEEP_NAMESERVER: "on"
|
|
|
|
DOT: "on"
|
|
|
|
FIREWALL: "on"
|
|
|
|
FIREWALL_INPUT_PORTS: "8112,8000"
|
|
|
|
FIREWALL_VPN_INPUT_PORTS: 61086
|
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: wireguard-config
|
2021-11-28 10:16:31 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
|
|
|
|
livenessProbe:
|
2022-11-17 18:24:20 +00:00
|
|
|
httpGet:
|
|
|
|
path: /v1/openvpn/status
|
|
|
|
port: 8000
|
2021-11-28 10:16:31 +00:00
|
|
|
initialDelaySeconds: 30
|
2022-11-17 18:24:20 +00:00
|
|
|
periodSeconds: 30
|
|
|
|
|
|
|
|
additionalContainers:
|
|
|
|
deluge-daemon:
|
2022-12-18 19:25:02 +00:00
|
|
|
env:
|
|
|
|
- name: SSL_CERT_DIR
|
|
|
|
value: /etc/ssl/certs
|
2023-03-23 15:50:21 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 1420
|
|
|
|
runAsGroup: 2420
|
|
|
|
|
|
|
|
|