Either something like gitlab-pgbouncer a la gitlab-psql, or a gitlab-ctl pgbouncer utility
gitlab-pgbouncer
gitlab-psql
gitlab-ctl pgbouncer