This commit is contained in:
Bernhard Radermacher
2026-02-20 13:43:24 +01:00
parent c7ec015d47
commit 471b445fe6

View File

@@ -20,10 +20,10 @@ create_hba() {
echo "local all all trust" > /var/lib/postgresql/data/pg_hba.conf
echo "local replication repmgr trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host replication repmgr 127.0.0.1/32 trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host replication repmgr ${POSTGRES_NETWORK-100.64.0.0/10} trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host replication repmgr ${POSTGRES_NETWORK:-100.64.0.0/10} trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "local repmgr repmgr trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host repmgr repmgr 127.0.0.1/32 trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host repmgr repmgr ${POSTGRES_NETWORK-100.64.0.0/10} trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host repmgr repmgr ${POSTGRES_NETWORK:-100.64.0.0/10} trust" >> /var/lib/postgresql/data/pg_hba.conf
echo "host all all all scram-sha-256" >> /var/lib/postgresql/data/pg_hba.conf
}