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

30 lines
928 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
router-slides:
rule: Host(`slides.jakehoward.tech`)
service: service-slides
services:
service-gitlab:
loadBalancer:
servers:
- url: https://{{ pve_hosts.gitlab.ip }}
service-gitlab-pages:
loadBalancer:
servers:
- url: http://{{ pve_hosts.gitlab.ip }}:8008
# HACK: GitLab doesn't support `_redirects` with domains in
service-slides:
loadBalancer:
passHostHeader: false
servers:
- url: https://slides.gitlab-pages.theorangeone.net