1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 12:37:46 +00:00

Use proper ports

This commit is contained in:
RGBCube 2024-01-12 18:46:26 +03:00
parent e8be5b5502
commit 1cbea6a67a
No known key found for this signature in database
3 changed files with 24 additions and 5 deletions

View file

@ -10,11 +10,22 @@ in serverSystemConfiguration {
imap.host = domain; imap.host = domain;
imap.passwordFile = config.age.secrets."cube.mail.password".path; imap.passwordFile = config.age.secrets."cube.mail.password".path;
imap.username = "contact@${domain}"; imap.username = "contact@${domain}";
listenAddress = "::";
port = 9020;
}; };
dovecot = enabled {}; dovecot = enabled {
postfix = enabled {}; port = 9021;
rspamd = enabled {}; };
postfix = enabled {
port = 9022;
};
rspamd = enabled {
port = 9023;
};
}; };
mailserver = enabled { mailserver = enabled {

View file

@ -4,8 +4,13 @@ serverSystemConfiguration {
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.prometheus.exporters = { services.prometheus.exporters = {
nginxlog = enabled {}; nginxlog = enabled {
nginx = enabled {}; port = 9011;
};
nginx = enabled {
port = 9010;
};
}; };
services.nginx = enabled { services.nginx = enabled {

View file

@ -2,8 +2,11 @@
serverSystemConfiguration { serverSystemConfiguration {
services.prometheus = enabled { services.prometheus = enabled {
port = 9000;
exporters.node = enabled { exporters.node = enabled {
enabledCollectors = [ "systemd" ]; enabledCollectors = [ "systemd" ];
port = 9001;
}; };
}; };
} }