littlelink-lanakk

This commit is contained in:
m3tam3re 2023-02-13 18:46:38 +01:00
parent d10dbca7ce
commit 24d2a554f1
6 changed files with 26 additions and 0 deletions

View File

@ -61,6 +61,10 @@
file = ../../secrets/briefkasten-env.age;
mode = "770";
};
littlelink-lanakk-env = {
file = ../../secrets/littlelink-lanakk-env.age;
mode = "770";
};
};
identityPaths = [ "/home/m3tam3re/.ssh/lkk-nix-1" ];
};

View File

@ -2,6 +2,7 @@
imports = [
./baserow.nix
./briefkasten.nix
./little-link.nix
./matomo.nix
./nextcloud.nix
./wordpress.nix

View File

@ -0,0 +1,8 @@
{ config, outputs, ... }: {
virtualisation.oci-containers.containers."littlelink_lanakk" = {
image = "ghcr.io/techno-tim/littlelink-server";
environmentFiles = [ config.littlelink-lanakk-env.path ];
ports = [ "3010:3000" ];
extraOptions = [ "--ip=10.88.0.20" ];
};
}

View File

@ -57,6 +57,8 @@
adguard.loadBalancer.servers = [{ url = "http://localhost:3008/"; }];
briefkasten.loadBalancer.servers =
[{ url = "http://localhost:3009/"; }];
littlelink-lanakk.loadBalancer.servers =
[{ url = "http://localhost:3010/"; }];
};
routers = {
api = {
@ -165,6 +167,15 @@
service = "briefkasten";
entrypoints = "websecure";
};
littlelink-lanakk = {
rule = "Host(`links.lanakk.com`)";
tls = {
certResolver = "godaddy";
domains = "links.lanakk.com";
};
service = "littlelink-lanakk";
entrypoints = "websecure";
};
};
};
};

View File

@ -14,4 +14,6 @@ in {
"wg-easy-environmentFile.age".publicKeys = [ root ];
"briefkasten-env.age".publicKeys = [ root ];
"littlelink-lanakk-env.age".publicKeys = [ root ];
}

Binary file not shown.