containers: added actualbudget

This commit is contained in:
Victor Ișan 2026-03-03 21:14:22 +01:00
parent dc6035dfb8
commit 85125b93a8
2 changed files with 26 additions and 0 deletions

View File

@ -41,5 +41,8 @@
"d /srv/containers 0775 root admin"
];
# Security
security.auditd.enable = true;
system.stateVersion = release;
}

View File

@ -0,0 +1,23 @@
{ config, ... }:
let
workDir = "/srv/containers/actualbudget";
in
{
systemd.tmpfiles.rules = [
"d ${workDir} 2700 root admin"
];
virtualisation.oci-containers.containers.actualbudget = {
autoStart = true;
image = "actualbudget/actual-server:latest-alpine";
ports = [
"0.0.0.0:10004:5006"
];
volumes = [
"${workDir}:/data"
];
};
}