briefkasten
This commit is contained in:
parent
70228cc485
commit
f21693e76c
|
@ -57,6 +57,10 @@
|
||||||
file = ../../secrets/wg-easy-environmentFile.age;
|
file = ../../secrets/wg-easy-environmentFile.age;
|
||||||
mode = "770";
|
mode = "770";
|
||||||
};
|
};
|
||||||
|
briefkasten-env = {
|
||||||
|
file = ../../secrets/briefkasten-env.age;
|
||||||
|
mode = "770";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
identityPaths = [ "/home/m3tam3re/.ssh/lkk-nix-1" ];
|
identityPaths = [ "/home/m3tam3re/.ssh/lkk-nix-1" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, outputs, ... }: {
|
||||||
|
virtualisation.oci-containers.containers."briefkasten" = {
|
||||||
|
image = "docker.io/ndom91/briefkasten";
|
||||||
|
environmentFiles = [ config.age.secrets.briefkasten-env.path ];
|
||||||
|
ports = [ "3009:3000" ];
|
||||||
|
extraOptions = [ "--add-host=postgres:10.88.0.1" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./baserow.nix
|
./baserow.nix
|
||||||
|
./briefkasten.nix
|
||||||
./matomo.nix
|
./matomo.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./wordpress.nix
|
./wordpress.nix
|
||||||
|
|
|
@ -44,13 +44,19 @@
|
||||||
baserow.loadBalancer.servers = [{ url = "http://localhost:3001/"; }];
|
baserow.loadBalancer.servers = [{ url = "http://localhost:3001/"; }];
|
||||||
gitea.loadBalancer.servers = [{ url = "http://localhost:3000/"; }];
|
gitea.loadBalancer.servers = [{ url = "http://localhost:3000/"; }];
|
||||||
n8n.loadBalancer.servers = [{ url = "http://localhost:5678/"; }];
|
n8n.loadBalancer.servers = [{ url = "http://localhost:5678/"; }];
|
||||||
lanakk_blog.loadBalancer.servers = [{ url = "http://localhost:3002/"; }];
|
lanakk_blog.loadBalancer.servers =
|
||||||
|
[{ url = "http://localhost:3002/"; }];
|
||||||
matomo.loadBalancer.servers = [{ url = "http://localhost:3003/"; }];
|
matomo.loadBalancer.servers = [{ url = "http://localhost:3003/"; }];
|
||||||
searx.loadBalancer.servers = [{ url = "http://localhost:3004/"; }];
|
searx.loadBalancer.servers = [{ url = "http://localhost:3004/"; }];
|
||||||
nextcloud.loadBalancer.servers = [{ url = "http://localhost:3005/"; }];
|
nextcloud.loadBalancer.servers =
|
||||||
invidious.loadBalancer.servers = [{ url = "http://localhost:3006/"; }];
|
[{ url = "http://localhost:3005/"; }];
|
||||||
wireguard.loadBalancer.servers = [{ url = "http://localhost:3007/"; }];
|
invidious.loadBalancer.servers =
|
||||||
|
[{ url = "http://localhost:3006/"; }];
|
||||||
|
wireguard.loadBalancer.servers =
|
||||||
|
[{ url = "http://localhost:3007/"; }];
|
||||||
adguard.loadBalancer.servers = [{ url = "http://localhost:3008/"; }];
|
adguard.loadBalancer.servers = [{ url = "http://localhost:3008/"; }];
|
||||||
|
briefkasten.loadBalancer.servers =
|
||||||
|
[{ url = "http://localhost:3009/"; }];
|
||||||
};
|
};
|
||||||
routers = {
|
routers = {
|
||||||
api = {
|
api = {
|
||||||
|
@ -150,6 +156,15 @@
|
||||||
middlewares = "auth";
|
middlewares = "auth";
|
||||||
entrypoints = "websecure";
|
entrypoints = "websecure";
|
||||||
};
|
};
|
||||||
|
briefkasten = {
|
||||||
|
rule = "Host(`bm.lanakk.com`)";
|
||||||
|
tls = {
|
||||||
|
certResolver = "godaddy";
|
||||||
|
domains = "bm.lanakk.com";
|
||||||
|
};
|
||||||
|
service = "briefkasten";
|
||||||
|
entrypoints = "websecure";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,4 +12,6 @@ in {
|
||||||
"searx-environmentFile.age".publicKeys = [ root ];
|
"searx-environmentFile.age".publicKeys = [ root ];
|
||||||
|
|
||||||
"wg-easy-environmentFile.age".publicKeys = [ root ];
|
"wg-easy-environmentFile.age".publicKeys = [ root ];
|
||||||
|
|
||||||
|
"briefkasten-env.age".publicKeys = [ root ];
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue