migrate matrix db to own host

This commit is contained in:
XenGi 2026-02-17 17:51:46 +01:00
parent 2ba74c195d
commit 57515cab45
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
5 changed files with 34 additions and 26 deletions

View file

@ -6,11 +6,8 @@
../../services/openssh.nix
../../services/nginx.nix
./nginx.nix
../../services/postgres.nix
../../services/synapse.nix
../../services/draupnir.nix
../../services/prometheus.nix
../../services/grafana.nix
./synapse.nix
./draupnir.nix
];
networking = {
@ -19,11 +16,15 @@
allowedTCPPorts = [
80 # HTTP/1
443 # HTTP/2
8448 # Matrix federation
#8448 # Matrix federation
];
allowedUDPPorts = [
443 # HTTP/3
];
extraInputRules = ''
ip saddr 195.160.173.14/32 tcp dport 9009 accept comment "Allow monitoring to scrape"
ip6 saddr 2001:678:760:cccb::14/128 tcp dport 9009 accept comment "Allow monitoring to scrape"
'';
};
};