sakura: init conduit
This commit is contained in:
parent
e8d168caf4
commit
b60c592ced
3 changed files with 24 additions and 0 deletions
15
hosts/sakura/services/conduit.nix
Normal file
15
hosts/sakura/services/conduit.nix
Normal 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"];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -11,5 +11,6 @@
|
|||
./hedgedoc.nix
|
||||
./dashdot.nix
|
||||
./grafana.nix
|
||||
./conduit.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue