created docker dir

This commit is contained in:
Richie Cahill 2024-05-27 15:33:24 -04:00
parent 89791e1f40
commit 722fd8ca8b
3 changed files with 17 additions and 15 deletions

View File

@ -1,15 +0,0 @@
{
virtualisation.oci-containers = {
backend = "docker";
containers.filebrowser = {
image = "hurlenko/filebrowser";
ports = [ "8080:8080" ];
volumes = [
"/ZFS:/data"
"/ZFS/Media/Docker/filebrowser:/config"
];
autoStart = true;
user = "nobody:users";
};
};
}

View File

@ -0,0 +1,5 @@
{
imports = [ ./filebrowser.nix ];
virtualisation.oci-containers.backend = "docker";
}

View File

@ -0,0 +1,12 @@
{
virtualisation.oci-containers.containers.filebrowser = {
image = "hurlenko/filebrowser";
ports = [ "8080:8080" ];
volumes = [
"/ZFS:/data"
"/ZFS/Media/Docker/filebrowser:/config"
];
autoStart = true;
user = "nobody:users";
};
}