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

View File

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

View File

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