-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix-synapse: init on caliban #336
Conversation
31379c5
to
878155c
Compare
878155c
to
b4ea58a
Compare
80c760b
to
2602d34
Compare
I extracted the backup module and caliban's config into #345. Will rebase once it is merged. |
b420482
to
e9dea0e
Compare
forceSSL = true; | ||
enableACME = true; | ||
|
||
locations."^(/_matrix|/_synapse/client)" = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you also need /.well-known/matrix/server
to delegate the homeserver for nixos.org
to matrix.nixos.org
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but that will happen over in nixos-homepage, since we're hosting nixos.org.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, wasn't aware that this isn't part of the configs in here, disregard then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type = "http"; | ||
bind_addresses = [ | ||
"127.0.0.1" | ||
"::1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, does the metrics listener not crash anymore when instructing it to listen on a v6 address?
I'm pretty sure that this was the case I only have it listening on v4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mine listens on IPv6 wildcard only and that works. I have not deployed this yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's cool, just realized that prometheus_client supports that now, nice 🎉
In other words, this can be resolved.
e9dea0e
to
cc0fe8d
Compare
6575139
to
87b41db
Compare
We are moving away from EMS and towards self-hosted infrastructure. cc NixOS/infra#336
I would recommend adding some extra configs in synapse, namely:
|
38399aa
to
075ec4c
Compare
We'll revisit that when we dig into monitoring. |
Implemented.
We have one interactive administrative user, and we're not that short on resources.
Went with 90d for local content, 14d for remote content, as shown in the config example from upstream. |
We are moving away from EMS and towards self-hosted infrastructure. cc NixOS/infra#336 Migrated from PR #1218
This is in line with the previous set up and was used by the moderation team, as a client to access the administrative account.
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/bb5ba68ebb73b5ca7996b64e1457fe885891e78e' (2024-04-15) → 'github:nix-community/disko/6f01b9710bc4d3bf006eb8df928b4b15e0430901' (2024-05-20) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/90055d5e616bd943795d38808c94dbf0dd35abe8' (2024-04-13) → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2' (2024-05-18) • Updated input 'sops-nix': 'github:Mic92/sops-nix/cc535d07cbcdd562bcca418e475c7b1959cefa4b' (2024-04-15) → 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5' (2024-05-19) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/c27f3b6d8e29346af16eecc0e9d54b1071eae27e' (2024-04-13) → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2' (2024-05-18) • Updated input 'srvos': 'github:numtide/srvos/bed9cfce2adc4c72de9bc90656d5cfe66e4371f3' (2024-04-12) → 'github:numtide/srvos/d368bfdc3a409482b92290a105bcacc108a49d24' (2024-05-20)
We're migrated. Set up the Grafana dashboard up and configured |
Draft of the matrix-synapse deployment.
Does not yet build, because I'm waiting on UDS support for the synapse listeners, which people are currently actively working on.
Depends on
Follow-up: