mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-17 15:28:33 +03:00
chore(postgres): default value for listen_addresses is already localhost
This is true after https://github.com/juspay/services-flake/pull/160
This commit is contained in:
parent
18d5c1d168
commit
ecc409436c
@ -9,7 +9,6 @@ in
|
||||
services.postgres."northwind" = {
|
||||
imports = [ globalSocket ];
|
||||
enable = true;
|
||||
listen_addresses = "127.0.0.1";
|
||||
initialDatabases = [
|
||||
{
|
||||
name = "sample";
|
||||
|
@ -31,7 +31,6 @@
|
||||
|
||||
services.postgres."pg1" = {
|
||||
enable = true;
|
||||
listen_addresses = "127.0.0.1";
|
||||
initialDatabases = [
|
||||
{
|
||||
name = dbName;
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ pkgs, config, ... }: {
|
||||
services.postgres."pg1" = {
|
||||
enable = true;
|
||||
listen_addresses = "127.0.0.1";
|
||||
initialScript.before = "CREATE USER bar;";
|
||||
initialScript.after = "CREATE DATABASE foo OWNER bar;";
|
||||
};
|
||||
@ -9,7 +8,6 @@
|
||||
enable = true;
|
||||
socketDir = "./test/new/socket/path";
|
||||
port = 5433;
|
||||
listen_addresses = "127.0.0.1";
|
||||
# INFO: pg1 creates $USER database while pg2 doesn't because `initialDatabases` is present
|
||||
initialDatabases = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user