mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +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.passwordFile = config.age.secrets."cube.mail.password".path;
|
||||
imap.username = "contact@${domain}";
|
||||
|
||||
listenAddress = "::";
|
||||
port = 9020;
|
||||
};
|
||||
|
||||
dovecot = enabled {};
|
||||
postfix = enabled {};
|
||||
rspamd = enabled {};
|
||||
dovecot = enabled {
|
||||
port = 9021;
|
||||
};
|
||||
|
||||
postfix = enabled {
|
||||
port = 9022;
|
||||
};
|
||||
|
||||
rspamd = enabled {
|
||||
port = 9023;
|
||||
};
|
||||
};
|
||||
|
||||
mailserver = enabled {
|
||||
|
|
|
@ -4,8 +4,13 @@ serverSystemConfiguration {
|
|||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
services.prometheus.exporters = {
|
||||
nginxlog = enabled {};
|
||||
nginx = enabled {};
|
||||
nginxlog = enabled {
|
||||
port = 9011;
|
||||
};
|
||||
|
||||
nginx = enabled {
|
||||
port = 9010;
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = enabled {
|
||||
|
|
|
@ -2,8 +2,11 @@
|
|||
|
||||
serverSystemConfiguration {
|
||||
services.prometheus = enabled {
|
||||
port = 9000;
|
||||
|
||||
exporters.node = enabled {
|
||||
enabledCollectors = [ "systemd" ];
|
||||
port = 9001;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue