Compare commits

..

No commits in common. "fa03b49419d9ffc1b88a9c5553324b94880f3eff" and "b8783a05fe3c232af7d3eab45cf24e46733a2de0" have entirely different histories.

4 changed files with 34 additions and 1 deletions

View file

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

View file

@ -1,6 +1,6 @@
_: { _: {
virtualisation.oci-containers.containers.stash = { virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash:v0.21.0"; image = "stashapp/stash:v0.22.1";
environment = { environment = {
STASH_STASH = "/data/"; STASH_STASH = "/data/";
STASH_GENERATED = "/generated/"; STASH_GENERATED = "/generated/";

View file

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