Commit Graph

35 Commits

Author SHA1 Message Date
Daniel Olsen 6cf831a347 switch to networkd 2023-03-04 00:44:30 +01:00
Daniel Olsen af955c88f8 jokum: move to systemd-nspawn container on bicep 2023-02-26 19:23:00 +01:00
Daniel Olsen eed3c9b05f matrix: Point mjolnir directly at synapse so it can use the admin api 2023-02-13 03:42:52 +01:00
Daniel Olsen 7a9759ef71 matrix: Add mjolnir as a moderation bot 2023-02-13 02:34:11 +01:00
Daniel Olsen 4684cd239a matrix: enable shared secret registration 2023-02-13 00:58:15 +01:00
Daniel Olsen c0c0dea069 tune worker distribution post fosdem and turning off prescence 2023-02-06 02:11:07 +01:00
Daniel Olsen 9c18a87866 element: disable presence if disabled in synapse 2023-02-02 18:51:47 +01:00
Daniel Olsen 73aa42a5f5 synapse: Disable presence
For now at least until we move to a stronger
machine.

Most large servers don't have this enabled.
2023-02-02 18:39:08 +01:00
Daniel Olsen eade192132 synapse: bump federation receiver count to 3 2023-02-02 00:35:26 +01:00
Daniel Olsen 1a424c79fe synapse: track monthly active users 2023-02-01 19:42:49 +01:00
h7x4 a78f120a65
explicitly state nginx listen addresses 2023-01-22 17:46:48 +01:00
h7x4 ad75cb0c88
Restructure values file to separate hosts from services 2023-01-21 19:54:20 +01:00
Daniel Olsen 1a0880086a metrics: use matrix-lib to simplify generation of prometheus scrape config 2023-01-20 08:24:02 +01:00
Daniel Olsen efed13c810 Revert "metrics: stop parsing prometheus labels from url"
This reverts commit 1524b6b10c.

Prometheus doesn't allow scraping from uris only socketAddresses
The relabeling is to change the internal labels to trick it to read
from a url
2023-01-20 05:04:16 +01:00
h7x4 1524b6b10c
metrics: stop parsing prometheus labels from url 2023-01-20 01:15:45 +01:00
Daniel Olsen 90e924c083 synapse: also generate metric config for the master node 2023-01-18 04:04:42 +01:00
h7x4 c8d26e3c81
synapse: generate metric endpoints automatically 2023-01-18 02:55:05 +01:00
Daniel Olsen 64d0253aa0 I dont think the nginx config verifier has caught a single configuration error ever 2023-01-17 18:47:08 +01:00
Daniel Olsen 1ea40456a5 add ipv6 to allowed ip addresses for metrics exporters 2023-01-17 18:23:42 +01:00
Daniel Olsen 5b798b2f1d jokum: enable metric exporters 2023-01-17 17:28:47 +01:00
Daniel Olsen 96b6dee404 Add firewalling to metric exporters 2023-01-17 17:28:11 +01:00
Daniel Olsen e4cb215d39 Simplify networking configs
Introduces values.nix, a place to store information relevant across systems
2023-01-17 17:28:11 +01:00
Daniel Olsen 44f2b6d8d8 fed-sender2 metrics 2022-12-14 10:26:28 +01:00
Daniel Olsen 154e12e609 add another federation sender as one is being maxed out 2022-12-14 10:25:29 +01:00
Daniel Olsen 8a3219e8d1 user directory worker 2022-12-14 10:15:37 +01:00
Daniel Olsen 911ce4057a event-persist metrics 2022-12-14 09:19:13 +01:00
Daniel Olsen 72eab1d2aa add an event persister worker 2022-12-14 09:16:43 +01:00
Daniel Olsen ea4fe98055 point discord bridge at the public url again
It was fetching avatars from 127.0.0.1
2022-12-12 16:05:50 +01:00
Daniel Olsen 8c6b73129b move services to be host specific 2022-12-12 15:54:47 +01:00
Daniel Løvbrøtte Olsen 121dcd8ab2 Initialize flake 2022-12-07 22:13:28 +01:00
Daniel Olsen 4a9efb0d5c Finally comitting matrix-configuration now that we have secret-management 2022-12-07 10:16:15 +01:00
Daniel Olsen 3ed65c6cfa Add sops for secret management 2022-12-07 10:16:07 +01:00
System administrator fec14535a1 Rename dir to 2022-09-08 17:34:00 +02:00
Daniel 8910e4b8a2 Make jokum use base.nix 2021-12-18 22:24:22 +01:00
System administrator ae1a91bc2d modularize configuration 2021-12-15 18:14:48 +01:00