public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexander Farber <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Date: Sun, 1 Dec 2024 21:50:52 +0100
Message-ID: <CAADeyWhF5nXZY-7HHvGUxJ-fgq7rKgCYKcGrE6X_OuX+g3xb_Q@mail.gmail.com> (raw)
In-Reply-To: <CAADeyWiWpQmcBPKtpSrmh0ZkyE3tpX-JTSr2UcBX-gO53ZM4TQ@mail.gmail.com>
References: <CAADeyWiW+Uz5z_RJrB=dhWoZAOngQ2dHQt+2UOGJiEv6pbcDCA@mail.gmail.com>
<[email protected]>
<CAADeyWiWpQmcBPKtpSrmh0ZkyE3tpX-JTSr2UcBX-gO53ZM4TQ@mail.gmail.com>
I have tried changing the line in the Dockerfile, but it has not helped yet:
ENV POSTGRES_INITDB_ARGS "--set port=6432 --set max_connections=20 --set
max_wal_size=2GB --set listen_addresses=localhost"
ENV POSTGRES_INITDB_ARGS "--set port=6432 --set max_connections=20 --set
max_wal_size=2GB --set listen_addresses='localhost'"
Maybe the quotes get lost somehow when using the "--set" option?
$ grep listen $PGDATA/postgresql.conf
listen_addresses = localhost
view thread (12+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
In-Reply-To: <CAADeyWhF5nXZY-7HHvGUxJ-fgq7rKgCYKcGrE6X_OuX+g3xb_Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox