Add tasks for deploy gitlab-runner

This commit is contained in:
Clément Desvaux
2023-09-19 12:32:42 +02:00
parent f22aed2e6a
commit 288a2ba60a
3 changed files with 119 additions and 1 deletions

View File

@ -23,7 +23,7 @@ services:
restart: 'unless-stopped'
labels:
traefik.enable: "true"
{% if gitlab_registry is sameas true} %}
{% if gitlab_registry is sameas true %}
traefik.http.routers.gitlab.rule: "Host(`{{ gitlab_domain }}`) || Host(`{{ gitlab_registry_domain }}`)"
{% else %}
traefik.http.routers.gitlab.rule: "Host(`{{ gitlab_domain }}`)"