Smol condition fix

This commit is contained in:
tom.chivert 2024-06-13 15:08:37 +02:00
parent 9b1e45bd55
commit 391e10a8f1

View File

@ -22,7 +22,7 @@ services:
container_name: gitlab
restart: 'unless-stopped'
labels:
{% if gitlab_through_traefik == "true" %}
{% if gitlab_through_traefik is defined and gitlab_through_traefik %}
traefik.enable: "true"
{% if gitlab_headers_accesscontrolallowcredentials is defined %}
traefik.http.middlewares.gitlab.headers.accesscontrolallowcredentials: "{{ gitlab_headers_accesscontrolallowcredentials }}"