Commit abda5e04 authored by Gabriel Mazetto's avatar Gabriel Mazetto 🚀

pg_hba is now automatically configured

parent e478a948
......@@ -122,7 +122,8 @@ postgresql/data/PG_VERSION:
${postgres_bin_dir}/initdb --locale=C -E utf-8 postgresql/data
${postgres_bin_dir}/initdb --locale=C -E utf-8 postgresql-replica/data
${postgres_bin_dir}/initdb --locale=C -E utf-8 postgresql-replica/data && \
cat support/pg_hba.conf.add >> postgresql/data/pg_hba.conf
${postgres_bin_dir}/psql -h localhost -d postgres -c "CREATE ROLE ${postgres_replication_user} WITH REPLICATION LOGIN;"
host replication gitlab_replication trust
host replication gitlab_replication ::1/128 trust
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment