1

Add fileflows service

This commit is contained in:
2023-09-01 11:38:19 +02:00
parent 782b222a9a
commit 46bd824ae1

View File

@ -0,0 +1,32 @@
{config, lib, pkgs, ...}:
{
virtualisation.oci-containers.containers.fileflows = {
image = "revenz/fileflows:latest";
autoStart = true;
dependsOn = [];
ports = [
"5000:5000"
];
volumes = [
"/media/Video:/media/Video"
"/media/Movie:/media/Movie"
"/media/Show:/media/Show"
"fileflows_temp:/temp"
"fileflows_config:/app/Data"
"fileflows_logs:/app/Logs"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {
TZ = "Europe/Berlin";
};
extraOptions = [
# "--restart=always" # Conflicts with NixOS' default of using --rm
];
};
}