yuki: init vikunja
This commit is contained in:
parent
0327f33d34
commit
61d4104102
3 changed files with 33 additions and 1 deletions
|
@ -8,6 +8,6 @@
|
||||||
./dashdot.nix
|
./dashdot.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./neko.nix
|
./neko.nix
|
||||||
./conduit.nix
|
./vikunja.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
26
hosts/yuki/services/vikunja.nix
Normal file
26
hosts/yuki/services/vikunja.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue