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"; bazarr.storage = "25Mi";
minecraft.storage = "1Gi"; minecraft.storage = "1Gi";
ntfy.storage = "300Mi"; ntfy.storage = "300Mi";
deluge.storage = "500Mi";
}; };
tailscaleIngresses.tailscale-longhorn = { tailscaleIngresses.tailscale-longhorn = {

View file

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