1

Rename some services

This commit is contained in:
2023-11-08 18:13:23 +01:00
parent 65fb2d9400
commit c179787684
5 changed files with 54 additions and 20 deletions

View File

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: { }: {
virtualisation.oci-containers.containers.fileflows = { virtualisation.oci-containers.containers.box-fileflows = {
image = "revenz/fileflows:latest"; image = "revenz/fileflows:latest";
autoStart = true; autoStart = true;
@ -17,25 +17,24 @@
]; ];
volumes = [ volumes = [
"/media/Video:/media/Video" "/media/Stash-Video:/media/Video"
"/media/Movie:/media/Movie"
"/media/Show:/media/Show"
"fileflows_temp:/temp" "box-fileflows_temp:/temp"
"fileflows_logs:/app/Logs" "box-fileflows_logs:/app/Logs"
"fileflows_config:/app/Data" "box-fileflows_config:/app/Data"
"/var/run/docker.sock:/var/run/docker.sock:ro" "/var/run/docker.sock:/var/run/docker.sock:ro"
]; ];
environment = { environment = {
TZ = "Europe/Berlin"; TZ = "Europe/Berlin";
NVIDIA_VISIBLE_DEVICES = "all"; NVIDIA_VISIBLE_DEVICES = "all";
NVIDIA_DRIVER_CAPABILITIES = "all"; NVIDIA_DRIVER_CAPABILITIES = "all";
}; };
extraOptions = [ extraOptions = [
"--privileged" # Might help with CUDA issues? "--privileged" # Helps with CUDA issues
"--gpus=all" "--gpus=all"
"--net=behind-nginx" "--net=behind-nginx"
]; ];

View File

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: { }: {
virtualisation.oci-containers.containers.hydra = { virtualisation.oci-containers.containers.box-hydra = {
image = "linuxserver/nzbhydra2:latest"; image = "linuxserver/nzbhydra2:latest";
autoStart = true; autoStart = true;
@ -18,7 +18,7 @@
]; ];
volumes = [ volumes = [
"hydra_config:/config" "box-hydra_config:/config"
]; ];
environment = { environment = {

View File

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: { }: {
virtualisation.oci-containers.containers.metube = { virtualisation.oci-containers.containers.box-metube = {
image = "ghcr.io/alexta69/metube"; image = "ghcr.io/alexta69/metube";
autoStart = true; autoStart = true;
@ -17,7 +17,7 @@
]; ];
volumes = [ volumes = [
"/media/Usenet/metube:/downloads" "/media/Stash-Usenet/metube:/downloads"
]; ];
environment = { environment = {

View File

@ -0,0 +1,35 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.box-sabnzbd = {
image = "linuxserver/sabnzbd:latest";
autoStart = true;
dependsOn = [
# "pihole"
];
ports = [
# "8080:8080"
];
volumes = [
"/media/Stash-Usenet:/downloads"
"box-sabnzbd_config:/config"
];
environment = {
PUID = "3001";
PGID = "3001";
TZ = "Europe/Berlin";
};
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: { }: {
virtualisation.oci-containers.containers.stash = { virtualisation.oci-containers.containers.box-stash = {
image = "stashapp/stash:latest"; image = "stashapp/stash:latest";
autoStart = true; autoStart = true;
@ -17,14 +17,14 @@
]; ];
volumes = [ volumes = [
"/media/Picture:/data/picture" "/media/Stash-Picture:/data/picture"
"/media/Video:/data/video" "/media/Stash-Video:/data/video"
"stash_config:/root/.stash" "box-stash_config:/root/.stash"
"stash_metadata:/metadata" "box-stash_metadata:/metadata"
"stash_generated:/generated" "box-stash_generated:/generated"
"stash_blobs:/blobs" "box-stash_blobs:/blobs"
"stash_cache:/cache" "box-stash_cache:/cache"
]; ];
environment = { environment = {