Jafner.net/homelab/server/config/gitlab
2022-03-02 15:22:29 -08:00
..
.env
docker-compose.yml Remove non-default port binding 2022-03-02 15:22:29 -08:00
README.md Add Gitlab container registry config and docs 2022-03-01 21:36:44 -08:00

Updating GitLab configuration

This gitlab instance is using the omnibus package. See GitLab Omnibus Reconfigure for official docs on reconfiguration. Here are the basic steps:

  1. Update the GITLAB_OMNIBUS_CONFIG environment variable in docker-compose.yml. Add the desired omnibus configuration lines.
  2. Run docker exec -it gitlab /bin/bash to enter the container.
  3. Run vi /etc/gitlab/gitlab.rb to begin editing the config file. Make the necessary changes (i to enter insert mode), then save (esc, then :wq, enter).
  4. Run gitlab-ctl diff-config to compare the new config file with the default config file (not previous).
  5. Run gitlab-ctl reconfigure to apply the changes.
  6. Confirm the value set in step 1 is still correct.