migrate matrix db to own host
This commit is contained in:
parent
2ba74c195d
commit
57515cab45
5 changed files with 34 additions and 26 deletions
|
|
@ -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"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue