Consider improvements to Praefect's database setup
At the moment, omnibus-gitlab users that wish to setup Gitaly HA via Praefect must figure out themselves how to setup its database. The gitlab.rb template points to hostnames postgres.external
and postgres.internal
, which are not setup by omnibus-gitlab. Two routes users can take:
- Point Praefect to use the Postgresql cluster provisioned by omnibus-gitlab: This is the simplest setup. However, we explicitly discourage doing this if using Geo, because of replication consequences.
- Provision a separate Postgresql cluster to use with Praefect: This is the recommended configuration with Geo, but this is not possible/obvious with omnibus-gitlab, leaving the user to setup Postgresql (and perhaps Patroni/PgBouncer) all on their own
/cc @gl-gitaly
Edited by Alejandro Rodríguez