Open postgres port on psql1

This commit is contained in:
Jonas Juselius
2021-01-11 11:45:54 +01:00
parent 4694675fb4
commit af668a3060
2 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,9 @@ in {
prefixLength = 24;
} ];
};
firewall.allowedTCPPorts = [ 5432 ];
};
services.postgresql = {
enable = true;
dataDir = "/data/postgresql";