Add outline

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-05-18 19:45:21 +01:00
parent bf82f4b52e
commit 52e3183244
8 changed files with 204 additions and 10 deletions

View File

@@ -0,0 +1,25 @@
{ pkgs, ... }:
pkgs.dockerTools.buildImage {
name = "outline";
fromImage = import ../base { inherit pkgs; };
copyToRoot = pkgs.buildEnv {
name = "root";
paths = with pkgs; [ outline ];
pathsToLink = [
"/bin"
"/share"
];
};
config = {
Entrypoint = [ "/bin/outline-server" ];
ExposedPorts = {
"3000/tcp" = { };
};
Volumes = {
"/var/lib/outline/data" = { };
};
WorkingDir = "${pkgs.outline}/share/outline";
};
}