347acf7e6e
It can't use wireguard to access stuff, so we will put it on orbi behind an nginx
26 lines
498 B
Nix
26 lines
498 B
Nix
{
|
|
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 ];
|
|
|
|
}
|