feat: Replace transmission with deluge

This commit is contained in:
Pim Kunis 2024-07-28 14:14:38 +02:00
parent 1f72d3463e
commit bf1facabd7
2 changed files with 21 additions and 24 deletions

View file

@ -129,6 +129,7 @@
bazarr.storage = "25Mi";
minecraft.storage = "1Gi";
ntfy.storage = "300Mi";
deluge.storage = "500Mi";
};
tailscaleIngresses.tailscale-longhorn = {

View file

@ -72,10 +72,10 @@
};
};
transmission.spec = {
deluge.spec = {
selector.matchLabels = {
app = "media";
component = "transmission";
component = "deluge";
};
strategy = {
@ -90,23 +90,24 @@
template = {
metadata.labels = {
app = "media";
component = "transmission";
component = "deluge";
};
spec = {
containers.transmission = {
image = "lscr.io/linuxserver/transmission:4.0.6";
containers.deluge = {
image = "linuxserver/deluge:2.1.1";
imagePullPolicy = "Always";
ports = {
web.containerPort = 9091;
bittorrent.containerPort = 31780;
};
env = {
PUID.value = "1000";
PGID.value = "1000";
TZ.value = "Europe/Amsterdam";
DELUGE_LOGLEVEL.value = "info";
};
ports = {
web.containerPort = 8112;
bittorrent.containerPort = 31780;
};
volumeMounts = [
@ -122,14 +123,9 @@
};
volumes = {
config.persistentVolumeClaim.claimName = "transmission";
config.persistentVolumeClaim.claimName = "deluge";
media.persistentVolumeClaim.claimName = "media";
};
securityContext = {
fsGroup = 1000;
fsGroupChangePolicy = "OnRootMismatch";
};
};
};
};
@ -419,13 +415,13 @@
};
};
transmission.spec = {
deluge.spec = {
type = "LoadBalancer";
loadBalancerIP = myLib.globals.transmissionIPv4;
selector = {
app = "media";
component = "transmission";
component = "deluge";
};
ports = {
@ -568,9 +564,9 @@
service.name = "prowlarr";
};
tailscale-transmission = {
host = "transmission";
service.name = "transmission";
tailscale-deluge = {
host = "deluge";
service.name = "deluge";
};
};
@ -580,9 +576,9 @@
storage = "5Gi";
};
transmission = {
volumeName = "transmission";
storage = "25Mi";
deluge = {
volumeName = "deluge";
storage = "500Mi";
};
jellyseerr = {