mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 12:37:46 +00:00
Use proper ports
This commit is contained in:
parent
e8be5b5502
commit
1cbea6a67a
3 changed files with 24 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue