Replace fileflows with unmanic
This commit is contained in:
42
ServeNix/services/box-unmanic.nix
Normal file
42
ServeNix/services/box-unmanic.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.box-unmanic = {
|
||||
image = "josh5/unmanic:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [
|
||||
# "pihole"
|
||||
];
|
||||
|
||||
ports = [
|
||||
# "8888:8888"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"/media/Stash-Video:/library/Video"
|
||||
# "/media/Stash-Picture:/library/Picture"
|
||||
|
||||
"box-unmanic_temp:/tmp/unmanic"
|
||||
"box-unmanic_config:/config"
|
||||
|
||||
# "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
];
|
||||
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
|
||||
NVIDIA_VISIBLE_DEVICES = "all";
|
||||
NVIDIA_DRIVER_CAPABILITIES = "all";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
"--privileged" # Helps with CUDA issues
|
||||
"--gpus=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -28,14 +28,14 @@
|
||||
"adguard_work:/data/adguard_work:ro"
|
||||
"authelia_config:/data/authelia_config:ro"
|
||||
"bazarr_config:/data/bazarr_config:ro"
|
||||
"box-fileflows_config:/data/box-fileflows_config:ro"
|
||||
# "box-fileflows_config:/data/box-fileflows_config:ro"
|
||||
"box-hydra_config:/data/box-hydra_config:ro"
|
||||
"box-sabnzbd_config:/data/box-sabnzbd_config:ro"
|
||||
"box-stash_blobs:/data/box-stash_blobs:ro"
|
||||
"box-stash_config:/data/box-stash_config:ro"
|
||||
"box-stash_generated:/data/box-stash_generated:ro"
|
||||
"box-stash_metadata:/data/box-stash_metadata:ro"
|
||||
"fileflows_config:/data/fileflows_config:ro"
|
||||
# "fileflows_config:/data/fileflows_config:ro"
|
||||
"formula10_data:/data/formula10_data:ro"
|
||||
"gitea-db_data:/data/gitea-db_data:ro"
|
||||
"gitea-runner_config:/data/gitea-runner_config:ro"
|
||||
@ -50,8 +50,8 @@
|
||||
"immich_machine-learning:/data/immich_machine-learning:ro"
|
||||
"jellyfin_config:/data/jellyfin_config:ro"
|
||||
"jellyseerr_config:/data/jellyseerr_config:ro"
|
||||
"jellystat-db_data:/data/jellystat-db_data:ro"
|
||||
"jellystat_data:/data/jellystat_data:ro"
|
||||
# "jellystat-db_data:/data/jellystat-db_data:ro"
|
||||
# "jellystat_data:/data/jellystat_data:ro"
|
||||
"nextcloud-db_data:/data/nextcloud-db_data:ro"
|
||||
"nextcloud_data:/data/nextcloud_data:ro"
|
||||
"nginx_config:/data/nginx_config:ro"
|
||||
@ -64,7 +64,7 @@
|
||||
"radarr_config:/data/radarr_config:ro"
|
||||
"sabnzbd_config:/data/sabnzbd_config:ro"
|
||||
"sonarr_config:/data/sonarr_config:ro"
|
||||
"uptime-kuma_config:/data/uptime-kuma_config:ro"
|
||||
# "uptime-kuma_config:/data/uptime-kuma_config:ro"
|
||||
"wireguard_vps_config:/data/wireguard_vps_config:ro"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user