summaryrefslogtreecommitdiff
path: root/docker/assets/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'docker/assets/wrapper')
-rwxr-xr-xdocker/assets/wrapper5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/assets/wrapper b/docker/assets/wrapper
index 966b2cab4a1..8bc8370fbc9 100755
--- a/docker/assets/wrapper
+++ b/docker/assets/wrapper
@@ -13,4 +13,9 @@ function entrypoint() {
gitlab-ctl tail # tail all logs
}
+if [[ ! -e /etc/gitlab/gitlab.rb ]]; then
+ cp /assets/gitlab.rb /etc/gitlab/gitlab.rb
+ chmod 0600 /etc/gitlab/gitlab.rb
+fi
+
entrypoint