containers: added actualbudget
This commit is contained in:
parent
dc6035dfb8
commit
85125b93a8
@ -41,5 +41,8 @@
|
||||
"d /srv/containers 0775 root admin"
|
||||
];
|
||||
|
||||
# Security
|
||||
security.auditd.enable = true;
|
||||
|
||||
system.stateVersion = release;
|
||||
}
|
||||
|
||||
23
modules/containers/actualbudget.nix
Normal file
23
modules/containers/actualbudget.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user