From 2d50298ae44ed7f2f3a143f2db00e825931b85ce Mon Sep 17 00:00:00 2001 From: sonny Date: Sun, 25 Jun 2023 10:17:28 +0200 Subject: [PATCH] Disable HTTPS for gitlab application As it is behind a reverse proxy doing this already --- templates/docker-compose.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/docker-compose.j2 b/templates/docker-compose.j2 index 5732903..d5db62e 100644 --- a/templates/docker-compose.j2 +++ b/templates/docker-compose.j2 @@ -7,6 +7,8 @@ services: environment: GITLAB_OMNIBUS_CONFIG: | external_url 'https://{{ hostname }}' + nginx['listen_port'] = 80 + nginx['listen_https'] = false gitlab_rails['gitlab_email_enabled'] = true gitlab_rails['gitlab_email_from'] = '{{ smtp_username }}' gitlab_rails['gitlab_email_display_name'] = 'Gitlab' @@ -22,7 +24,6 @@ services: user['git_user_email'] = '{{ smtp_username }}' ports: - '9090:80' - - '9093:443' - '22:22' volumes: - '$GITLAB_HOME/config:/etc/gitlab' @@ -33,7 +34,7 @@ services: image: 'gitlab/gitlab-runner:{{ runner_image_tag }}' restart: unless-stopped environment: - CI_SERVER_URL: "https://{{ hostname }}" + CI_SERVER_URL: "http://web" depends_on: - web volumes: