infrastructure/ansible/roles/traefik/files/file-provider-gitlab.yml
2022-10-08 15:51:37 +01:00

20 lines
622 B
YAML

http:
routers:
router-gitlab:
rule: Host(`git.theorangeone.net`)
service: service-gitlab
router-gitlab-registry:
rule: Host(`registry.git.theorangeone.net`)
service: service-gitlab
router-gitlab-pages:
rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`)
service: service-gitlab-pages
services:
service-gitlab:
loadBalancer:
servers:
- url: https://{{ pve_hosts.gitlab.ip }}
service-gitlab-pages:
loadBalancer:
servers:
- url: http://{{ pve_hosts.gitlab.ip }}:8008