From ab04058e1b6b86767b45b478f63a2112df8e00ed Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Mon, 27 May 2024 10:18:40 -0400 Subject: [PATCH] testing filebrowser --- .vscode/settings.json | 3 +++ systems/jeeves/docker.nix | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 systems/jeeves/docker.nix diff --git a/.vscode/settings.json b/.vscode/settings.json index 415f1ae..9df3475 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,12 +32,15 @@ "esbenp", "extest", "fenix", + "filebrowser", "fileroller", "Filesystems", "foxundermoon", "gamescope", + "gparted", "hexeditor", "HRDN", + "hurlenko", "hwloc", "hyprland", "hyprwm", diff --git a/systems/jeeves/docker.nix b/systems/jeeves/docker.nix new file mode 100644 index 0000000..05443ee --- /dev/null +++ b/systems/jeeves/docker.nix @@ -0,0 +1,16 @@ +{ + virtualisation.oci-containers = { + backend = "docker"; + containers.filebrowser = { + image = "hurlenko/filebrowser"; + ports = [ "443:8080" ]; + volumes = [ + "/DATA_DIR:/ZFS" + "/CONFIG_DIR:/ZFS/Media/Docker/filebrowser" + ]; + environment = [ "FB_BASEURL=/filebrowser" ]; + autoStart = true; + user = "richie:users"; + }; + }; +}