Skip to content

This docker-compose file uses separate configs, env_files, secrets and volumes!

Notifications You must be signed in to change notification settings

Hypnotist1148/Gitlab-Docker-Compose

Repository files navigation

Gitlab docker-compose

Description: This is supposed to be a gitlab docker-compose stack with the possibility of loadbalancing each component. You might have to read some gitlab-omnibus docs, in order to undersand how to loadbalance each service.

Reconfigure

  • docker-compose exec gitlab gitlab-ctl reconfigure
  • docker-compose restart gitlab; docker-compose logs -f gitlab

Register the runner

Docs that helped me

INFO: These are CE (Community Edition) docs, meaning they might differ from EE (Enterprise Edition) docs!

Configs

Adjust by preferences, seperated by folders.

Env Files

INFO: originals will not be pushed, but there are .sample files, rename them

There are env files in multiple locations. In the root of this project there is a .env file. At env_files/ there are env files for each service.

Secrets

INFO: will not be pushed

In the secrets/ folder are all secrets, there should be following files in there:

  • gitlab_root_password.txt
    • User: root
  • postgres_password.txt
    • User: postgres
  • redis_password.txt
    • User: [X]

Volumes

INFO: will not be pushed