briefkasten

This commit is contained in:
m3tam3re 2023-02-12 16:03:03 +01:00
parent 70228cc485
commit f21693e76c
6 changed files with 34 additions and 4 deletions

View File

@ -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" ];
}; };

View File

@ -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" ];
};
}

View File

@ -1,6 +1,7 @@
{ {
imports = [ imports = [
./baserow.nix ./baserow.nix
./briefkasten.nix
./matomo.nix ./matomo.nix
./nextcloud.nix ./nextcloud.nix
./wordpress.nix ./wordpress.nix

View File

@ -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";
};
}; };
}; };
}; };

View File

@ -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 ];
} }

BIN
secrets/briefkasten-env.age Normal file

Binary file not shown.