fix hba
This commit is contained in:
@@ -20,10 +20,10 @@ create_hba() {
|
|||||||
echo "local all all trust" > /var/lib/postgresql/data/pg_hba.conf
|
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 "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 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 "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 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
|
echo "host all all all scram-sha-256" >> /var/lib/postgresql/data/pg_hba.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user