mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Remove matrix exporter
This commit is contained in:
parent
ec6ba9527d
commit
a9b819deed
1 changed files with 11 additions and 36 deletions
|
@ -21,20 +21,6 @@ in serverSystemConfiguration {
|
|||
age.secrets."cube/password.secret.matrix-synapse".owner = "matrix-synapse";
|
||||
age.secrets."cube/password.sync.matrix-synapse".owner = "matrix-synapse";
|
||||
|
||||
services.prometheus = {
|
||||
scrapeConfigs = [{
|
||||
job_name = "matrix-synapse";
|
||||
metrics_path = "/_synapse/metrics";
|
||||
|
||||
static_configs = [{
|
||||
labels.job = "matrix-synapse";
|
||||
targets = [
|
||||
"[::]:${toString exporterPort}"
|
||||
];
|
||||
}];
|
||||
}];
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
ensureDatabases = [ "matrix-synapse" "matrix-sliding-sync" ];
|
||||
ensureUsers = [
|
||||
|
@ -82,8 +68,7 @@ in serverSystemConfiguration {
|
|||
# Sets registration_shared_secret.
|
||||
extraConfigFiles = [ config.age.secrets."cube/password.secret.matrix-synapse".path ];
|
||||
|
||||
settings.listeners = [
|
||||
{
|
||||
settings.listeners = [{
|
||||
port = synapsePort;
|
||||
|
||||
bind_addresses = [ "::" ];
|
||||
|
@ -95,17 +80,7 @@ in serverSystemConfiguration {
|
|||
compress = false;
|
||||
names = [ "client" "federation" ];
|
||||
}];
|
||||
}
|
||||
{
|
||||
port = exporterPort;
|
||||
|
||||
bind_addresses = [ "::" ];
|
||||
tls = false;
|
||||
type = "metrics";
|
||||
|
||||
resources = [];
|
||||
}
|
||||
];
|
||||
}];
|
||||
};
|
||||
|
||||
services.matrix-sliding-sync = enabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue