mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
26 lines
444 B
Nix
26 lines
444 B
Nix
{ lib, ... }:
|
|
{
|
|
name = "outline";
|
|
|
|
meta.maintainers = with lib.maintainers; [
|
|
e1mo
|
|
xanderio
|
|
];
|
|
|
|
containers.outline = {
|
|
services.outline = {
|
|
enable = true;
|
|
forceHttps = false;
|
|
storage = {
|
|
storageType = "local";
|
|
};
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
outline.wait_for_unit("outline.service")
|
|
outline.wait_for_open_port(3000)
|
|
outline.succeed("curl --fail http://localhost:3000/")
|
|
'';
|
|
}
|