Make services depend on pihole
This commit is contained in:
@ -8,7 +8,9 @@
|
|||||||
image = "";
|
image = "";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [];
|
ports = [];
|
||||||
|
|
||||||
@ -18,8 +20,12 @@
|
|||||||
PUID = "1000";
|
PUID = "1000";
|
||||||
PGID = "1000";
|
PGID = "1000";
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
|
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||||
|
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [];
|
extraOptions = [
|
||||||
|
# "--gpus=all"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "revenz/fileflows:latest";
|
image = "revenz/fileflows:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"5000:5000"
|
"5000:5000"
|
||||||
@ -27,11 +29,11 @@
|
|||||||
environment = {
|
environment = {
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
NVIDIA_VISIBLE_DEVICES = "all";
|
NVIDIA_VISIBLE_DEVICES = "all";
|
||||||
|
NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--gpus device=0" # This only works when I start the container using sudo, but not from the systemd service?
|
"--gpus=all"
|
||||||
"--runtime=nvidia" # Older option but seems to work
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "ghcr.io/benphelps/homepage:latest";
|
image = "ghcr.io/benphelps/homepage:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"3000:3000"
|
"3000:3000"
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
"sabnzbd"
|
"sabnzbd"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "linuxserver/jellyfin:latest";
|
image = "linuxserver/jellyfin:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"8096:8096"
|
"8096:8096"
|
||||||
@ -25,11 +27,12 @@
|
|||||||
PUID = "3000";
|
PUID = "3000";
|
||||||
PGID = "3000";
|
PGID = "3000";
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
NVIDIA_VISIBLE_DEVICES = "all";
|
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||||
|
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--runtime=nvidia" # Disable for now, testing if this conflicts with fileflows
|
# "--gpus=all"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
"sonarr"
|
"sonarr"
|
||||||
"radarr"
|
"radarr"
|
||||||
"jellyfin"
|
"jellyfin"
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
environment = {
|
environment = {
|
||||||
TZ = "Europe/Berlin";
|
TZ = "Europe/Berlin";
|
||||||
# WEBPASSWORD = "";
|
# WEBPASSWORD = "";
|
||||||
FTLCONF_LOCAL_IPV4 = "192.168.86.105";
|
FTLCONF_LOCAL_IPV4 = "192.168.86.25";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "linuxserver/prowlarr:latest";
|
image = "linuxserver/prowlarr:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"9696:9696"
|
"9696:9696"
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
"sabnzbd"
|
"sabnzbd"
|
||||||
"prowlarr"
|
"prowlarr"
|
||||||
];
|
];
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "linuxserver/sabnzbd:latest";
|
image = "linuxserver/sabnzbd:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"8080:8080"
|
"8080:8080"
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
"sabnzbd"
|
"sabnzbd"
|
||||||
"prowlarr"
|
"prowlarr"
|
||||||
];
|
];
|
||||||
|
|||||||
@ -8,7 +8,9 @@
|
|||||||
image = "stashapp/stash:latest";
|
image = "stashapp/stash:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"9999:9999"
|
"9999:9999"
|
||||||
@ -30,8 +32,12 @@
|
|||||||
STASH_GENERATED = "/generated/";
|
STASH_GENERATED = "/generated/";
|
||||||
STASH_METADATA = "/metadata/";
|
STASH_METADATA = "/metadata/";
|
||||||
STASH_STASH = "/data/";
|
STASH_STASH = "/data/";
|
||||||
|
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||||
|
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [];
|
extraOptions = [
|
||||||
|
# "--gpus=all"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,52 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
virtualisation.oci-containers.containers.tdarr = {
|
|
||||||
image = "haveagitgat/tdarr:latest";
|
|
||||||
autoStart = true;
|
|
||||||
|
|
||||||
dependsOn = [];
|
|
||||||
|
|
||||||
ports = [
|
|
||||||
"8265:8265" # WebUI
|
|
||||||
"8266:8266" # Server
|
|
||||||
];
|
|
||||||
|
|
||||||
volumes = [
|
|
||||||
"/media/Video:/media/Video"
|
|
||||||
"/media/Movie:/media/Movie"
|
|
||||||
"/media/Show:/media/Show"
|
|
||||||
"tdarr_config:/app/configs"
|
|
||||||
"tdarr_server:/app/server"
|
|
||||||
"tdarr_cache:/temp"
|
|
||||||
"tdarr_logs:/app/logs"
|
|
||||||
];
|
|
||||||
|
|
||||||
environment = {
|
|
||||||
TZ = "Europe/Berlin";
|
|
||||||
PUID = "3001";
|
|
||||||
PGID = "3001";
|
|
||||||
UMASK_SET = "755";
|
|
||||||
serverIP = "192.168.86.105";
|
|
||||||
serverPort = "8266";
|
|
||||||
webUIPort = "8265";
|
|
||||||
internalNode = "true";
|
|
||||||
inContainer = "true";
|
|
||||||
nodeName = "InternalNode";
|
|
||||||
NVIDIA_DRIVER_CAPABILITIES = "all";
|
|
||||||
NVIDIA_VISIBLE_DEVICES = "all";
|
|
||||||
};
|
|
||||||
|
|
||||||
extraOptions = [
|
|
||||||
# "--gpus device=0" # This only works when I start the container using sudo, but not from the systemd service?
|
|
||||||
# "--runtime=nvidia" # Older option but seems to work
|
|
||||||
"--gpus=all"
|
|
||||||
"--device=/dev/dri:/dev/dri"
|
|
||||||
# "--log-opt max-size=10m"
|
|
||||||
# "--log-opt max-file=5"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@ -8,7 +8,9 @@
|
|||||||
image = "linuxserver/wireguard:latest";
|
image = "linuxserver/wireguard:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [
|
||||||
|
"pihole"
|
||||||
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"51820:51820"
|
"51820:51820"
|
||||||
|
|||||||
Reference in New Issue
Block a user