Skip to content

feat(docker-compose): allow setting GitLab root password via environment variable

Niklas requested to merge (removed):main into main

Description:

This Merge Request introduces the ability to set the GitLab root password through an environment variable in the Docker Compose file. If the environment variable GITLAB_ROOT_PASSWORD is not set or is empty, the default hardcoded password will be used.

Changes:

Update Docker Compose file to allow setting GitLab root password using the GITLAB_ROOT_PASSWORD environment variable. The hardcoded password will be used as a fallback if the environment variable is not set or is empty.

Benefits:

Provides a more flexible and secure way to set the GitLab root password. Allows users to easily change the root password without modifying the Docker Compose file directly.


This MR is part of the KubeCon/CloudNativeCon EU 2023 Code Challange (@abuango).

Edited by Niklas

Merge request reports

Loading