Fix parameter in postgres
This commit is contained in:
parent
7c876cfda8
commit
69002ac0e1
|
@ -3,7 +3,7 @@
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableTCPIP = true;
|
enableTCPIP = true;
|
||||||
settings.listen_adresses = pkgs.lib.mkForce "127.0.0.1,172.17.0.1";
|
settings.listen_addresses = pkgs.lib.mkForce "127.0.0.1,172.17.0.1";
|
||||||
};
|
};
|
||||||
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 5432 -s 172.16.0.0/12 -j ACCEPT";
|
networking.firewall.extraCommands = "iptables -A INPUT -p tcp --destination-port 5432 -s 172.16.0.0/12 -j ACCEPT";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue