diff --git a/templates/compose/gitlab.yml.j2 b/templates/compose/gitlab.yml.j2 index 2562043..b88fd8b 100644 --- a/templates/compose/gitlab.yml.j2 +++ b/templates/compose/gitlab.yml.j2 @@ -23,7 +23,7 @@ services: restart: 'unless-stopped' labels: traefik.enable: "true" -{% if gitlab_registry is sameas true %} +{% if gitlab_registry_domain is defined %} traefik.http.routers.gitlab.rule: "Host(`{{ gitlab_domain }}`) || Host(`{{ gitlab_registry_domain }}`)" {% else %} traefik.http.routers.gitlab.rule: "Host(`{{ gitlab_domain }}`)"