diff --git a/nix-system-configs/modules/system/database.nix b/nix-system-configs/modules/system/database.nix index a370083..d5c72c5 100644 --- a/nix-system-configs/modules/system/database.nix +++ b/nix-system-configs/modules/system/database.nix @@ -223,7 +223,8 @@ in { # You will also need to set a password unless you explicitly disable protected # mode. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bind 127.0.0.1 -::1 + # bind 127.0.0.1 -::1 + bind ${config.local.address} -::1 # By default, outgoing connections (from replica to primary, from Sentinel to # instances, cluster bus, etc.) are not bound to a specific local address. In