created docker dir
This commit is contained in:
parent
89791e1f40
commit
722fd8ca8b
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
5
systems/jeeves/docker/default.nix
Normal file
5
systems/jeeves/docker/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [ ./filebrowser.nix ];
|
||||||
|
|
||||||
|
virtualisation.oci-containers.backend = "docker";
|
||||||
|
}
|
12
systems/jeeves/docker/filebrowser.nix
Normal file
12
systems/jeeves/docker/filebrowser.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user