Make services depend on pihole
This commit is contained in:
@ -8,7 +8,9 @@
|
||||
image = "";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [];
|
||||
|
||||
@ -18,8 +20,12 @@
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [];
|
||||
extraOptions = [
|
||||
# "--gpus=all"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "revenz/fileflows:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"5000:5000"
|
||||
@ -27,11 +29,11 @@
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
NVIDIA_VISIBLE_DEVICES = "all";
|
||||
NVIDIA_DRIVER_CAPABILITIES = "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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "ghcr.io/benphelps/homepage:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"3000:3000"
|
||||
|
@ -9,6 +9,7 @@
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
"sabnzbd"
|
||||
];
|
||||
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "linuxserver/jellyfin:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"8096:8096"
|
||||
@ -25,11 +27,12 @@
|
||||
PUID = "3000";
|
||||
PGID = "3000";
|
||||
TZ = "Europe/Berlin";
|
||||
NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_VISIBLE_DEVICES = "all";
|
||||
# NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--runtime=nvidia" # Disable for now, testing if this conflicts with fileflows
|
||||
# "--gpus=all"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -9,6 +9,7 @@
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
"sonarr"
|
||||
"radarr"
|
||||
"jellyfin"
|
||||
|
@ -26,7 +26,7 @@
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
# WEBPASSWORD = "";
|
||||
FTLCONF_LOCAL_IPV4 = "192.168.86.105";
|
||||
FTLCONF_LOCAL_IPV4 = "192.168.86.25";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "linuxserver/prowlarr:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"9696:9696"
|
||||
|
@ -9,6 +9,7 @@
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
"sabnzbd"
|
||||
"prowlarr"
|
||||
];
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "linuxserver/sabnzbd:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"8080:8080"
|
||||
|
@ -9,6 +9,7 @@
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
"sabnzbd"
|
||||
"prowlarr"
|
||||
];
|
||||
|
@ -8,7 +8,9 @@
|
||||
image = "stashapp/stash:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"9999:9999"
|
||||
@ -30,8 +32,12 @@
|
||||
STASH_GENERATED = "/generated/";
|
||||
STASH_METADATA = "/metadata/";
|
||||
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";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
dependsOn = [
|
||||
"pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
"51820:51820"
|
||||
|
Reference in New Issue
Block a user