mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
11 lines
214 B
Bash
11 lines
214 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
# Allow all users to replicate the database.
|
||
|
# This is very insecure.
|
||
|
|
||
|
auth="$(postgres -C password_encryption)"
|
||
|
echo "host replication all all ${auth}" >> "$PGDATA/pg_hba.conf"
|