Déploiement Riot

This commit is contained in:
nyanloutre 2018-04-19 20:17:48 +02:00
parent 72d0ff0b4f
commit d570d18342
1 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,7 @@ with lib;
let
domaine = "nyanlout.re";
riot_port = 52345;
in
{
@ -23,6 +24,7 @@ in
syncthing = { ip = "127.0.0.1"; port = 8384; auth = true; };
jackett = { ip = "127.0.0.1"; port = 9117; auth = true; };
searx = { ip = "127.0.0.1"; port = 8888; auth = false; };
riot = { ip = "127.0.0.1"; port = riot_port; auth = false; };
};
services.mailserver.enable = true;
@ -92,6 +94,14 @@ in
services.searx.enable = true;
services.nginx.enable = true;
services.nginx.virtualHosts = {
"riot" = {
listen = [ { addr = "127.0.0.1"; port = riot_port; } ];
locations = { "/" = { root = pkgs.riot-web; }; };
};
};
networking.firewall.allowedTCPPorts = [
111 2049 4000 4001 4002 # NFS
3483 9000 9090 # Slimserver