2022-11-17 18:24:20 +00:00
|
|
|
---
|
2022-01-08 16:35:06 +00:00
|
|
|
image:
|
2022-11-17 18:24:20 +00:00
|
|
|
repository: reg.dc/deluge
|
2022-09-02 00:03:29 +00:00
|
|
|
tag: 2.1.1
|
2022-01-08 16:35:06 +00:00
|
|
|
|
2022-11-17 18:24:20 +00:00
|
|
|
command: [ "/usr/bin/deluge-web" ]
|
|
|
|
args: [ "-d", "-c", "/config", "-L", "info" ]
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
privileged: false
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
|
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:
|
|
|
|
PUID: 1000
|
|
|
|
GUID: 1000
|
|
|
|
|
2022-11-17 18:24:20 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
|
2021-11-28 10:16:31 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
size: 10M
|
|
|
|
|
|
|
|
# use hostpath instead
|
|
|
|
downloads:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /data/torrent
|
|
|
|
mountPath: /downloads
|
|
|
|
|
2022-11-14 20:31:10 +00:00
|
|
|
startupProbe:
|
|
|
|
initialDelaySeconds: 600
|
|
|
|
periodSeconds: 120
|
|
|
|
failureThreshold: 6
|
|
|
|
|
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:
|
|
|
|
image: reg.dc/deluge:2.1.1
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /config
|
|
|
|
- name: downloads
|
|
|
|
mountPath: /downloads
|