Add Grafana/Prometheus.
This commit is contained in:
parent
ccc9468d43
commit
557be818da
4 changed files with 61 additions and 8 deletions
23
hosts/hub/apps/karakeep.nix
Normal file
23
hosts/hub/apps/karakeep.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/actual 0755 root root"
|
||||
];
|
||||
|
||||
virtualisation.oci-containers.containers.actual = {
|
||||
image = "actualbudget/actual-server:latest";
|
||||
ports = [
|
||||
"5006:5006"
|
||||
];
|
||||
environment = {
|
||||
ACTUAL_LOGIN_METHOD = "header";
|
||||
};
|
||||
volumes = [ "/var/lib/actual:/data" ];
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."https://budget.tailc50184.ts.net".extraConfig = ''
|
||||
bind tailscale/budget
|
||||
reverse_proxy http://localhost:5006
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue