yuki: init vikunja

This commit is contained in:
notohh 2023-09-28 17:05:52 -04:00
parent 0327f33d34
commit 61d4104102
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 33 additions and 1 deletions

View file

@ -8,6 +8,6 @@
./dashdot.nix
./jellyfin.nix
./neko.nix
./conduit.nix
./vikunja.nix
];
}

View file

@ -40,6 +40,11 @@ _: {
entrypoints = ["web"];
service = "jellyseerr";
};
vikunja-frontend = {
rule = "Host(`vikunja.home.arpa`)";
entrypoints = ["web"];
service = "vikunja-frontend";
};
};
services = {
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
@ -48,6 +53,7 @@ _: {
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
vikunja-frontend.loadBalancer.servers = [{url = "http://localhost:6789";}];
};
};
};

View file

@ -0,0 +1,26 @@
{pkgs, ...}: {
networking.firewall.allowedTCPPorts = [3456 6789];
virtualisation.oci-containers.containers.vikunja = {
image = "vikunja/api";
environment = {
VIKUNJA_SERVICE_FRONTENDURL = "vikunja.home.arpa";
};
ports = [
"3456:3456"
];
volumes = [
"/home/notoh/docker/vikunja/files:/app/vikunja/files"
];
};
virtualisation.oci-containers.containers.vikunja-frontend = {
image = "vikunja/frontend";
ports = [
"6789:80"
];
environment = {
VIKUNJA_API_URL = "http://192.168.1.36:3456/api/v1";
};
};
}