August 2019
Beginner
608 pages
16h 7m
English
The first declaration in this file is which role the instance will play in our infrastructure:
# Disable all components except Pgbouncer and Consul agentroles ['pgbouncer_role']
Again, we want omnibus to disable all other functions for this host:
# Disable all other servicessidekiq['enable'] = falsegitlab_workhorse['enable'] = falseunicorn['enable'] = falsepostgresql['enable'] = falsenginx['enable'] = falseprometheus['enable'] = falsealertmanager['enable'] = falsegitlab_monitor['enable'] = falsegitaly['enable'] = false
We must set the usernames that will be used through PgBouncer:
# Configure Pgbouncerpgbouncer['admin_users'] = %w(pgbouncer gitlab-consul)
The consul agent that runs on this machine must keep ...
Read now
Unlock full access