From b4bf5616928549766500881ef42eebc19cf77884 Mon Sep 17 00:00:00 2001 From: "tom.chivert" Date: Thu, 13 Jun 2024 11:59:29 +0200 Subject: [PATCH] Add gitlab_image variable --- README.md | 1 + templates/compose/gitlab.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4da8829..72ef18e 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ Example variables - 10.0.1.0/24 redisinsignt_watchtower_enable: true + gitlab_image: gitlab/gitlab-ce gitlab_version: 'latest' gitlab_root_password: 'vault-this-thingy' gitlab_domain: gitlab.example.com diff --git a/templates/compose/gitlab.yml.j2 b/templates/compose/gitlab.yml.j2 index 3bc0c96..30217de 100644 --- a/templates/compose/gitlab.yml.j2 +++ b/templates/compose/gitlab.yml.j2 @@ -18,7 +18,7 @@ volumes: services: gitlab: - image: gitlab/gitlab-ce:{{ gitlab_version|default("latest") }} + image: {{ gitlab_image|default("gitlab/gitlab-ce") }}:{{ gitlab_version|default("latest") }} container_name: gitlab restart: 'unless-stopped' labels: