sakura: init conduit

This commit is contained in:
notohh 2023-06-21 18:31:03 -04:00
parent e8d168caf4
commit b60c592ced
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,15 @@
_: {
networking.firewall.allowedTCPPorts = [6167 8448];
services.matrix-conduit = {
enable = true;
settings.global = {
address = "0.0.0.0";
port = 6167;
server_name = "notohh.dev";
allow_registration = true;
allow_federation = true;
allow_encryption = true;
trusted_servers = ["matrix.org"];
};
};
}

View file

@ -11,5 +11,6 @@
./hedgedoc.nix
./dashdot.nix
./grafana.nix
./conduit.nix
];
}

View file

@ -104,6 +104,13 @@
tls.domains = [{main = "*.notohh.dev";}];
tls.certresolver = "production";
};
conduit = {
rule = "Host(`artoria.notohh.dev`)";
entrypoints = ["websecure"];
service = "conduit";
tls.domains = [{main = "*.notohh.dev";}];
tls.certresolver = "production";
};
};
services = {
authelia.loadBalancer.servers = [{url = "http://localhost:9091";}];
@ -118,6 +125,7 @@
woodpecker-server.loadBalancer.servers = [{url = "http://localhost:8200";}];
atticd.loadBalancer.servers = [{url = "http://localhost:8100";}];
hedgedoc.loadBalancer.servers = [{url = "http://localhost:3300";}];
conduit.loadBalancer.servers = [{url = "http://localhost:6167";}];
};
};
};