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: