Add gitlab_image variable

This commit is contained in:
tom.chivert 2024-06-13 11:59:29 +02:00
parent cdaef0381a
commit b4bf561692
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ Example variables
- 10.0.1.0/24 - 10.0.1.0/24
redisinsignt_watchtower_enable: true redisinsignt_watchtower_enable: true
gitlab_image: gitlab/gitlab-ce
gitlab_version: 'latest' gitlab_version: 'latest'
gitlab_root_password: 'vault-this-thingy' gitlab_root_password: 'vault-this-thingy'
gitlab_domain: gitlab.example.com gitlab_domain: gitlab.example.com

View File

@ -18,7 +18,7 @@ volumes:
services: services:
gitlab: gitlab:
image: gitlab/gitlab-ce:{{ gitlab_version|default("latest") }} image: {{ gitlab_image|default("gitlab/gitlab-ce") }}:{{ gitlab_version|default("latest") }}
container_name: gitlab container_name: gitlab
restart: 'unless-stopped' restart: 'unless-stopped'
labels: labels: