# su - gitlab-psql $ psql -h /var/opt/gitlab/postgresql -d gitlabhq_production gitlabhq_production=# create user app_viewer; gitlabhq_production=# alter user app_viewer password 'xxx';