1

Make services depend on pihole

This commit is contained in:
2023-09-10 11:24:54 +02:00
parent 5d7f2d4767
commit 5f0895c541
14 changed files with 44 additions and 67 deletions

View File

@ -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"
];
};
}

View File

@ -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"
];
};
}

View File

@ -8,7 +8,9 @@
image = "ghcr.io/benphelps/homepage:latest";
autoStart = true;
dependsOn = [];
dependsOn = [
"pihole"
];
ports = [
"3000:3000"

View File

@ -9,6 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
];

View File

@ -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"
];
};
}

View File

@ -9,6 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
"sonarr"
"radarr"
"jellyfin"

View File

@ -26,7 +26,7 @@
environment = {
TZ = "Europe/Berlin";
# WEBPASSWORD = "";
FTLCONF_LOCAL_IPV4 = "192.168.86.105";
FTLCONF_LOCAL_IPV4 = "192.168.86.25";
};
extraOptions = [

View File

@ -8,7 +8,9 @@
image = "linuxserver/prowlarr:latest";
autoStart = true;
dependsOn = [];
dependsOn = [
"pihole"
];
ports = [
"9696:9696"

View File

@ -9,6 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
"prowlarr"
];

View File

@ -8,7 +8,9 @@
image = "linuxserver/sabnzbd:latest";
autoStart = true;
dependsOn = [];
dependsOn = [
"pihole"
];
ports = [
"8080:8080"

View File

@ -9,6 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
"prowlarr"
];

View File

@ -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"
];
};
}

View File

@ -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"
];
};
}

View File

@ -8,7 +8,9 @@
image = "linuxserver/wireguard:latest";
autoStart = true;
dependsOn = [];
dependsOn = [
"pihole"
];
ports = [
"51820:51820"