🚧 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:
parent
903e963d05
commit
347acf7e6e
2 changed files with 27 additions and 0 deletions
|
@ -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
|
||||||
|
|
26
machines/chungus/service-taskwarrior.nix
Normal file
26
machines/chungus/service-taskwarrior.nix
Normal 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 ];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue