🚧 working on taskwarrior-webui

It can't use wireguard to access stuff, so we will put it on orbi behind an nginx
This commit is contained in:
Ingolf Wagner 2024-09-07 10:09:00 +07:00
parent 903e963d05
commit 347acf7e6e
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 27 additions and 0 deletions

View file

@ -48,6 +48,7 @@
./service-forgejo.nix ./service-forgejo.nix
./service-paperless.nix ./service-paperless.nix
./service-s3.nix ./service-s3.nix
./service-taskwarrior.nix
./service-vault.nix ./service-vault.nix
./zerotier-controller.nix ./zerotier-controller.nix

View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
...
}:
{
virtualisation.oci-containers = {
containers.taskwarrior-webui = {
volumes = [
"/srv2/taskwarrior/taskrc:/.taskrc"
"/srv2/taskwarrior/task:/.task"
];
ports = [
"8080:80"
];
environment.TZ = "Europe/Berlin";
image = "dcsunset/taskwarrior-webui:3";
};
};
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8080 ];
networking.firewall.interfaces.wg0.allowedUDPPorts = [ 8080 ];
}