sigma: memos

This commit is contained in:
Casper V. Kristensen 2024-04-29 22:50:50 +02:00
parent 221750d875
commit fcd20e733f
2 changed files with 21 additions and 0 deletions

View file

@ -11,6 +11,7 @@
./hardware.nix
./jellyfin.nix
./mail.nix
./memos.nix
./network.nix
./sonarr.nix
];

20
hosts/sigma/memos.nix Normal file
View file

@ -0,0 +1,20 @@
{...}: {
virtualisation.oci-containers.containers = {
memos = {
# https://www.usememos.com/docs/install/self-hosting
image = "docker.io/neosmemo/memos:stable";
environment = {
# https://github.com/usememos/memos/issues/2433#issuecomment-1797316081
MEMOS_METRIC = "false";
};
ports = [
# TODO: for some *very* weird reason, exposing the port does not work
# if we use the same port on the host and inside the container. Why??
"127.0.0.1:5231:5230"
];
volumes = [
"memos:/var/opt/memos"
];
};
};
}